Skip to main content
Anchor to OrderEditAddShippingLinePayload

OrderEditAddShippingLinePayload

payload

Return type for orderEditAddShippingLine mutation.

•CalculatedOrder

The calculated order with the edits applied but not saved.

Anchor to calculatedShippingLinecalculatedShippingLine
•CalculatedShippingLine

The calculated shipping line that's added during this order edit.

•OrderEditSession

The order edit session with the edits applied but not saved.

•[OrderEditAddShippingLineUserError!]!
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 Order during an edit session. Specify the shipping title and price to create a new ShippingLine.

Returns a CalculatedOrder showing the order with edits applied but not yet saved. To save your changes, use the orderEditCommit mutation.

Learn more about editing existing orders.

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.

•OrderEditAddShippingLineInput!
required

The shipping line to be added.



Was this section helpful?