cURL
curl --request POST \ --url https://api.secure.quotivity.com/v1/bundles/{bundleId}/options \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>", "type": "ADD_ON", "description": "<string>", "products": [ { "productId": "<string>", "properties": {} } ] } '
{ "id": "<string>", "accountId": "<string>", "bundleId": "<string>", "name": "<string>", "priceBookId": "<string>", "displayOrder": 123, "configuration": { "minCount": 123, "maxCount": 123, "defaultOptionProductId": "<string>" }, "description": "<string>" }
Creates a new option for a bundle. Options can be INCLUDED (required) or ADD_ON (optional). Products can be added inline.
ADD_ON
INCLUDED
Show child attributes
Bundle option created successfully