Skip to main content

SelectedShippingOption

The option line of a breakdown: the option id and its own price contribution to the total.

type SelectedShippingOption {
id: Int!
price: MonetaryValue!
name: String
cost: MonetaryValue
origin: SelectedShippingOptionOrigin
}

Fields

id ● Int!

The shipping option id.

price ● MonetaryValue!

The option's own contribution to the total.

name ● String

The shipping method's display name

cost ● MonetaryValue

The option's cost for the merchant

origin ● SelectedShippingOptionOrigin

Where this method came from, as the source stated it when the order was placed.

Example

{
"price": {
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
},
"tax": {}
},
"origin": {}
}