Skip to main content

SelectedShippingBreakdown

The per-component composition of a SelectedShipping total.

type SelectedShippingBreakdown {
option: SelectedShippingOption!
addons: [SelectedShippingAddon!]
selection: SelectedShippingSelection
}

Fields

option ● SelectedShippingOption!

The option line: its id and own price contribution.

addons ● [SelectedShippingAddon!]

The chosen, validated addons.

selection ● SelectedShippingSelection

The chosen, validated selection (timeslot or pickup location), if any.

Example

{
"option": {
"price": {
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
},
"tax": {}
},
"origin": {}
},
"addons": [
{}
],
"selection": {
"timeslot": {
"start": "2024-05-03T11:52:33Z"
},
"location": {
"address": {}
}
}
}