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
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.
- Anchor to stagedStatusstaged•Calculated
Status Shipping Line Staged Status!non-null The staged status of the shipping line.
- Anchor to titletitle•String!non-null
The title of the shipping line.
Anchor to MutationsMutations
- •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.
- •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.
Arguments
- Anchor to calculatedOrdercalculated•Calculated
Order Order The calculated order with the edits applied but not saved.
- Anchor to calculatedShippingLinecalculated•Calculated
Shipping Line Shipping Line The calculated shipping line that's added during this order edit.
- Anchor to orderEditSessionorder•Order
Edit Session Edit Session The order edit session with the edits applied but not saved.
- Anchor to userErrorsuser•[Order
Errors Edit Add Shipping Line User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields