Skip to main content
Anchor to CalculatedShippingLine

CalculatedShippingLine

object

Requires read_order_edits access scope.

A shipping line item involved in order editing that may be newly added or have new changes applied.

•ID

A globally-unique ID.

•MoneyBag!non-null

The price of the shipping line when sold and before applying discounts. This field includes taxes if Order.taxesIncluded is true. Otherwise, this field doesn't include taxes for the shipping line.

•CalculatedShippingLineStagedStatus!non-null

The staged status of the shipping line.

•String!non-null

The title of the shipping line.


Was this section helpful?

•mutation

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.

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.


Fields

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