Anchor to orderEditAddShippingLineorder
mutationorder Edit Add Shipping Line
Requires access scope.
Adds a custom shipping line to an Order during an edit session. Specify the shipping title and price to create a new .
Returns a showing the order with edits applied but not yet saved. To save your changes, use the mutation.
Learn more about editing existing orders.
Anchor to Arguments
Arguments
- •ID!required
The ID of the calculated order to edit.
- Anchor to shippingLineshipping•Order
Line Edit Add Shipping Line Input! required The shipping line to be added.
Was this section helpful?
- Anchor to calculatedOrdercalculated•Calculated
Order Order The calculated order with the edits applied but not saved.
- Anchor to calculatedShippingLinecalculated•Calculated
Shipping Line Shipping Line The calculated shipping line that's added during this order edit.
- Anchor to userErrorsuser•[Order
Errors Edit Add Shipping Line User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?