Skip to main content
Anchor to orderEditRemoveShippingLine

orderEditRemoveShippingLine

mutation

Requires write_order_edits access scope.

Removes a shipping line from 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 from which the shipping line is removed.

•ID!required

The ID of the calculated shipping line to remove.


Was this section helpful?

Anchor to OrderEditRemoveShippingLinePayload returnsOrderEditRemoveShippingLinePayload returns

•CalculatedOrder

The calculated order with the edits applied but not saved.

•OrderEditSession

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

•[OrderEditRemoveShippingLineUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?