Update the product attached to a deal
PUT {{baseUrl}}/deals/:id/products/:product_attachment_id
Updates the details of the product that has been attached to a deal.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"id":1,"company_id":123,"deal_id":456,"order_nr":1,"product_id":789,"product_variation_id":555,"item_price":300,"discount":5,"discount_type":"percentage","sum":2850,"currency":"USD","enabled_flag":true,"add_time":"2019-11-27 11:40:36","last_edit":"","comments":"This is a product comment","active_flag":true,"tax":10,"tax_method":"exclusive","name":"Product name","quantity":5,"billing_frequency":"annually","billing_frequency_cycles":null,"billing_start_date":null}}