Name | Type | Description | Notes |
---|---|---|---|
id | Number | The ID of the product | [optional] |
name | String | The name of the product | [optional] |
code | String | The product code | [optional] |
description | String | The description of the product | [optional] |
unit | String | The unit in which this product is sold | [optional] |
tax | Number | The tax percentage | [optional] [default to 0] |
category | String | The category of the product | [optional] |
active_flag | Boolean | Whether this product will be made active or not | [optional] |
selectable | Boolean | Whether this product can be selected in deals or not | [optional] |
first_char | String | The first letter of the product name | [optional] |
visible_to | Number | The visibility of the product. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. | [optional] |
owner_id | Number | The ID of the user who will be marked as the owner of this product. When omitted, authorized user ID will be used. | [optional] |
files_count | Number | The count of files | [optional] |
add_time | String | The date and time when the product was added to the deal | [optional] |
update_time | String | The date and time when the product was updated to the deal | [optional] |
prices | [Object] | Array of objects, each containing: `currency` (string), `price` (number), `cost` (number, optional), `overhead_cost` (number, optional). Note that there can only be one price per product per currency. When `prices` is omitted altogether, a default price of 0 and a default currency based on the company's currency will be assigned. | [optional] |