Add a Product to a Deal

Add a product to a deal with specific pricing, quantity, and discount information.

Endpoint

POST
/deal-products

Request

Loading editor...

Response

json
Loading editor...

Request Parameters

ParameterTypeRequiredDescription
deal_idNumberYesID of the deal to add the product to
organization_idNumberYesID of the organization
product_idNumberYesID of the product to add
quantityNumberYesQuantity of the product
priceNumberYesPrice per unit
descriptionStringNoDescription of the product in this deal
discount_typeStringNoType of discount ('fixed', 'percentage', or 'none')
discount_amountNumberNoFixed discount amount (required if discount_type is 'fixed')
discount_percentageNumberNoPercentage discount (required if discount_type is 'percentage')
tax_percentageNumberNoTax percentage to apply (default: 0)

Report an issue with this documentation

Please log in to report issues with our documentation.