Skip to main content

SecuredSelectedShippingInput

The customer's chosen shipping: the option (plus any addons/selection) picked from shippingOptions, sent back at checkout.

input SecuredSelectedShippingInput {
secureId: String!
id: Int
addons: [SelectedShippingAddonInput!]
selection: SelectedShippingSelectionInput
}

Fields

secureId ● String!

The chosen option's secureId from shippingOptions (carries its id + price).

id ● Int

Plain option id — optional fallback; prefer secureId.

addons ● [SelectedShippingAddonInput!]

Chosen addons, if any.

selection ● SelectedShippingSelectionInput

Chosen selection (timeslot or pickup location), if any.

Example

{
"addons": [
{}
],
"selection": {
"timeslot": {
"start": "2024-05-03T11:52:33Z"
},
"location": {
"address": {}
}
}
}