Skip to main content

ChosenBundlePrice

No description

type ChosenBundlePrice {
productID: String!
priceType: BundlePriceType
basePrice: Price
unitPrice: Price
totalPrice: Price
breakdown: [TotalPriceBreakdown]
}

Fields

productID ● String!

Product ID of the bundle

priceType ● BundlePriceType

Shows which pricing type the bundle product uses

basePrice ● Price

The price the base product will get, for one bundle

unitPrice ● Price

The price of one bundle at the requested quantity

totalPrice ● Price

The full price of the bundle regardless of pricetype, unitPrice times the requested quantity

breakdown ● [TotalPriceBreakdown]

Breakdown contains the calculations used for the total price of the bundle, the sum of all the rows in breakdown will always match the totalPrice, calculations used may differ based on the priceType of the bundle

Example

{
"basePrice": {
"regularPrice": {
"currency": {
"code": "USD",
"rate": 11.355,
"prefix": "$"
},
"tax": {}
},
"appliedCampaign": {
"info": {
"description": [
{
"language": "EN",
"value": "String"
}
],
"timeLimit": {
"from": "2024-05-03T11:52:33Z"
}
}
}
},
"breakdown": [
{}
]
}