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
| Parameter | Type | Required | Description |
|---|---|---|---|
deal_id | Number | Yes | ID of the deal to add the product to |
organization_id | Number | Yes | ID of the organization |
product_id | Number | Yes | ID of the product to add |
quantity | Number | Yes | Quantity of the product |
price | Number | Yes | Price per unit |
description | String | No | Description of the product in this deal |
discount_type | String | No | Type of discount ('fixed', 'percentage', or 'none') |
discount_amount | Number | No | Fixed discount amount (required if discount_type is 'fixed') |
discount_percentage | Number | No | Percentage discount (required if discount_type is 'percentage') |
tax_percentage | Number | No | Tax percentage to apply (default: 0) |
Report an issue with this documentation
Please log in to report issues with our documentation.