Add Bundle Option Products
POST https://api.secure.quotivity.com/v1/bundles/{bundleId}/options/{optionId}/productsAdds 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.
Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
bundleId |
string | Yes | — |
optionId |
string | Yes | — |
Request body
Section titled “Request body”Required, application/json: AddBundleOptionProductsRequest
Responses
Section titled “Responses”| Status | Body | Description |
|---|---|---|
200 |
object | Products added successfully |
400 |
— | Bundle option does not belong to this bundle |
401 |
— | Unauthorized |
500 |
— | Internal Server Error |
Schemas
Section titled “Schemas”AddBundleOptionProductsRequest
Section titled “AddBundleOptionProductsRequest”| Field | Type | Required | Description |
|---|---|---|---|
products |
object[] | Yes | — |
BundleOptionProduct
Section titled “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 | — |
BundleProductConfiguration
Section titled “BundleProductConfiguration”| Field | Type | Required | Description |
|---|---|---|---|
minQuantity |
number | No | — |
maxQuantity |
number | No | — |
readonlyQuantity |
boolean | No | — |
OverrideAdjustment
Section titled “OverrideAdjustment”Extends PriceAdjustmentBase.
| Field | Type | Required | Description |
|---|---|---|---|
type |
override |
Yes | — |
amount |
number | Yes | — |
PercentAdjustment
Section titled “PercentAdjustment”Extends PriceAdjustmentBase.
| Field | Type | Required | Description |
|---|---|---|---|
type |
percent |
Yes | — |
amount |
number | Yes | — |
PriceAdjustmentBase
Section titled “PriceAdjustmentBase”| Field | Type | Required | Description |
|---|---|---|---|
type |
string | Yes | — |
PriceBookEntryAdjustment
Section titled “PriceBookEntryAdjustment”Type: OverrideAdjustment | PercentAdjustment | VolumeAdjustment | TableEnumAdjustment | TableRangeAdjustment | VariantAdjustment
PricedBundleOptionProduct
Section titled “PricedBundleOptionProduct”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. |
TableEnumAdjustment
Section titled “TableEnumAdjustment”Extends PriceAdjustmentBase.
| Field | Type | Required | Description |
|---|---|---|---|
type |
enum |
Yes | — |
property |
string | Yes | — |
values |
object[] | Yes | — |
TableRangeAdjustment
Section titled “TableRangeAdjustment”Extends PriceAdjustmentBase.
| Field | Type | Required | Description |
|---|---|---|---|
type |
range |
Yes | — |
property |
string | Yes | — |
values |
object[] | Yes | — |
VariantAdjustment
Section titled “VariantAdjustment”Extends PriceAdjustmentBase.
| Field | Type | Required | Description |
|---|---|---|---|
type |
variant |
Yes | — |
values |
object[] | Yes | — |
VolumeAdjustment
Section titled “VolumeAdjustment”Extends PriceAdjustmentBase.
| Field | Type | Required | Description |
|---|---|---|---|
type |
volume |
Yes | — |
tiers |
object[] | Yes | — |
Ask the help center
Answers come from these guides, with links to the articles used.
Ask anything about configuring quoting in Quotivity Studio.