Name | Type | Description | Notes |
---|---|---|---|
name | String | Name of the product. | [optional] |
code | String | Product code. | [optional] |
unit | String | Unit in which this product is sold | [optional] |
tax | Number | Tax percentage | [optional] [default to 0] |
activeFlag | NumberBooleanDefault1 | Whether this product will be made active or not. | [optional] |
selectable | NumberBooleanDefault1 | Whether this product can be selected in Deals or not. | [optional] |
visibleTo | VisibleTo | Visibility of the product. If omitted, visibility will be set to the default visibility setting of this item type for the authorized user.<dl class="fields-list"><dt>1</dt><dd>Owner & followers (private)</dd><dt>3</dt><dd>Entire company (shared)</dd></dl> | [optional] |
ownerId | Number | ID of the user who will be marked as the owner of this product. When omitted, the authorized user ID will be used. | [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, no prices will be set up for the product | [optional] |