Skip to content

Add Bundle Option Products

POST https://api.secure.quotivity.com/v1/bundles/{bundleId}/options/{optionId}/products

Adds one or more products to an existing bundle option. Returns the added products with their prices.

Send your API key in the x-api-key header. See Generating API keys.

Name Type Required Description
bundleId string Yes
optionId string Yes

Required, application/json: AddBundleOptionProductsRequest

Status Body Description
200 object Products added successfully
400 Bundle option does not belong to this bundle
401 Unauthorized
500 Internal Server Error
Field Type Required Description
products object[] Yes
Field Type Required Description
id string Yes
accountId string Yes
bundleId string Yes
optionId string Yes
productId string Yes
properties map of string to string Yes
configuration BundleProductConfiguration No
displayOrder number Yes
Field Type Required Description
minQuantity number No
maxQuantity number No
readonlyQuantity boolean No

Extends PriceAdjustmentBase.

Field Type Required Description
type override Yes
amount number Yes

Extends PriceAdjustmentBase.

Field Type Required Description
type percent Yes
amount number Yes
Field Type Required Description
type string Yes

Type: OverrideAdjustment | PercentAdjustment | VolumeAdjustment | TableEnumAdjustment | TableRangeAdjustment | VariantAdjustment

Extends BundleOptionProduct.

Field Type Required Description
id string Yes
accountId string Yes
bundleId string Yes
optionId string Yes
productId string Yes
properties map of string to string Yes
configuration BundleProductConfiguration No
displayOrder number Yes
adjustments map of string to PriceBookEntryAdjustment Yes Price adjustments keyed by ISO 4217 currency code (for example USD, EUR). The key is the currency; the value carries the adjustment only.
standardPrice map of string to number Yes Price per currency. Keyed by ISO 4217 currency code (for example USD, EUR). A currency is absent, or null, when no price is set.
listPrice map of string to number Yes Price per currency. Keyed by ISO 4217 currency code (for example USD, EUR). A currency is absent, or null, when no price is set.

Extends PriceAdjustmentBase.

Field Type Required Description
type enum Yes
property string Yes
values object[] Yes

Extends PriceAdjustmentBase.

Field Type Required Description
type range Yes
property string Yes
values object[] Yes

Extends PriceAdjustmentBase.

Field Type Required Description
type variant Yes
values object[] Yes

Extends PriceAdjustmentBase.

Field Type Required Description
type volume Yes
tiers object[] Yes