Skip to main content
Anchor to orderEditAddShippingLine

orderEditAddShippingLine

mutation

Requires write_order_edits 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.

•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?

Anchor to OrderEditAddShippingLinePayload returnsOrderEditAddShippingLinePayload returns

•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?
OSZAR »