CpqCommittedOptionType
An option the shopper had selected when the configuration was committed
type CpqCommittedOptionType {
id: String
instanceId: String
articleNumber: String
name: String
quantity: Decimal!
unitPrice: PriceType
discountPercent: Decimal
product: ProductType
}
Fields
id ● String scalar
The option id
instanceId ● String scalar
Distinguishes repeated copies of the same option within one group
articleNumber ● String scalar
The article number of the product this option adds, when it maps to one
name ● String scalar
The option's name as the summary shows it, in the language the configuration was committed in. Never empty.
quantity ● Decimal! non-null scalar required
How many of the option were selected
unitPrice ● PriceType object
What one of the option cost at commit, with its own discount already taken off. cpq froze it net, so the inc-VAT side is worked out from the cart item's own VAT rate. Option prices need not add up to the cart item's price, which comes from the frozen total and the customer's agreement.
discountPercent ● Decimal scalar
The discount already reflected in 'unitPrice', in percent
product ● ProductType object
The Geins product the article number names today, read with the cart in one batch for all its items and with no call to cpq. Null when no active product in the market carries it, which is ordinary: an ERP part number is not always a sellable article. Also null on every option of the cart when the product read failed, in which case the cart's items are still answered. It is read in the request's market, which a caller passing its own marketId can make differ from the one the cart item was priced in. Its unitPrice is today's catalogue price with campaigns, price lists and customer prices applied, not what the option cost at commit, which is this option's 'unitPrice'.
Member Of
Cpq object