deals_update_product
Update product details attached to a deal, such as price, quantity, discount, or comments. Specify the deal ID and product attachment ID to modify parameters without changing the product.
Instructions
Update a product attached to a deal.
Modifies the price, quantity, discount, or other details of a product already attached to a deal.
Workflow tips:
Use deals/list_products to get product_attachment_id
product_attachment_id is NOT the same as product_id
Only specify fields you want to update
Cannot change the actual product, only its parameters
Common use cases:
Update quantity: { "id": 123, "product_attachment_id": 789, "quantity": 5 }
Change price: { "id": 123, "product_attachment_id": 789, "item_price": 149.99 }
Add discount: { "id": 123, "product_attachment_id": 789, "discount_percentage": 20 }
Update multiple: { "id": 123, "product_attachment_id": 789, "quantity": 3, "discount_percentage": 10, "comments": "Updated terms" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the deal | |
| product_attachment_id | Yes | ID of the deal-product attachment to update | |
| item_price | No | Updated price | |
| quantity | No | Updated quantity | |
| discount_percentage | No | Updated discount percentage (0-100) | |
| duration | No | Updated duration | |
| comments | No | Updated comments | |
| enabled_flag | No | Whether the product is enabled |