Anchor to OrderEditAddShippingLinePayloadOrder
payloadOrder Edit Add Shipping Line Payload
Return type for mutation.
Anchor to FieldsFields
- calculatedOrder (CalculatedOrder)
- calculatedShippingLine (CalculatedShippingLine)
- userErrors ([OrderEditAddShippingLineUserError!]!)
- 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?
Anchor to Mutations with this payloadMutations with this payload
- orderEditAddShippingLine (OrderEditAddShippingLinePayload)
- •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 to edit.
- Anchor to shippingLineshipping•Order
Line Edit Add Shipping Line Input! required The shipping line to be added.
Arguments
- •ID!
Was this section helpful?