Hi community! , im trying to change the shipping_lines via api. Currently im modifying the shipping_address without problems using this
This works, but when i try to change specifically the shipping_lines doesnt works, im using this
'll it be possible to make that change?, Im doing this from a custom modal in my app
Hey @nicolasortega ,
Happy to help you out with this. Shipping line edits are not possible via REST or GraphQL admin APIs. Order edits that impact the value of the order to not be possible with REST. While your example is not specifically changing the shipping cost, any attribute of the shipping line is prevented from being updated with an Order PUT request.
GraphQL does support some order edit capabilities as documented in this tutorial, but again shipping line updates is not one of them.
Regards,
John
John C | Developer Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | Count |
---|---|
13 | |
12 | |
10 | |
8 | |
7 |