Anchor to orderEditAddShippingLineorder
mutationorder Edit Add Shipping Line
Requires access scope.
Adds a shipping line to an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to Edit existing orders.
Anchor to Arguments
Arguments
- •ID!required
The ID of the calculated order or the order edit session to edit. This is the edit to which the shipping line is added.
- 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 orderEditSessionorder•Order
Edit Session Edit Session The order edit session with the edits applied but not saved.
- 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?