Anchor to OrderEditAddShippingLinePayloadOrder
payloadOrder Edit Add Shipping Line Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- •mutation
Adds a custom shipping line to an
Orderduring 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 themutation.Learn more about editing existing orders.
- •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.
Arguments
- •ID!
Was this section helpful?