Calculated Shipping Line
Requires access scope.
A shipping line item involved in order editing that may be newly added or have new changes applied.
Anchor to FieldsFields
- id (ID)
- price (MoneyBag!)
- stagedStatus (CalculatedShippingLineStagedStatus!)
- title (String!)
- •ID
A globally-unique ID.
- Anchor to priceprice•Money
Bag! non-null The price of the shipping line when sold and before applying discounts. This field includes taxes if
is true. Otherwise, this field doesn't include taxes for the shipping line.Show fields
- Anchor to stagedStatusstaged•Calculated
Status Shipping Line Staged Status! non-null The staged status of the shipping line.
Show enum values
- Anchor to titletitle•String!non-null
The title of the shipping line.
Anchor to MutationsMutations
- 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.
Show payload
- •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.
- Anchor to shippingLineshipping•Order
Line Edit Add Shipping Line Input! required The shipping line to be added.
Show input fields
Arguments
- •ID!