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
Solved! Go to the solution
This is an accepted solution.
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.