Name | Type | Description | Notes |
---|---|---|---|
product_id | int | The ID of the product | [optional] |
item_price | float | The price value of the product | [optional] |
quantity | float | The quantity of the product | [optional] |
tax | float | The product tax | [optional] [default to 0] |
comments | string | The comments of the product | [optional] |
discount | float | The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage | [optional] [default to 0] |
is_enabled | bool | Whether this product is enabled for the deal Not possible to disable the product if the deal has installments associated and the product is the last one enabled Not possible to enable the product if the deal has installments associated and the product is recurring | [optional] [default to true] |
tax_method | string | The tax option to be applied to the products. When using `inclusive`, the tax percentage will already be included in the price. When using `exclusive`, the tax will not be included in the price. When using `none`, no tax will be added. Use the `tax` field for defining the tax percentage amount. By default, the user setting value for tax options will be used. Changing this in one product affects the rest of the products attached to the deal | [optional] |
discount_type | string | The value of the discount. The `discount_type` field can be used to specify whether the value is an amount or a percentage | [optional] [default to 'percentage'] |
product_variation_id | int | The ID of the product variation | [optional] |