Skip to main content

saveOrderSelectedShipping

Saves a shipping selection onto an existing order.

saveOrderSelectedShipping(
orderId: Int!
input: SaveOrderSelectedShippingInput!
): SelectedShipping

Arguments

orderId ● Int!

input ● SaveOrderSelectedShippingInput!

Type

SelectedShipping

The customer's validated, chosen shipping. Returned by validateShippingSelection, exposed on Checkout and Order. id and totalPrice are the main contract.

id is the shipping option id totalPrice is the amount to charge. breakdown holds the detailes.