Creates a new product

Adds a new product with the provided details.

Request

This endpoint expects an object.
namestringRequired
statusintegerRequired
product_category_idintegerRequired
costobjectRequired
pricelist of objectsRequired
invoicing_detailsstringOptional
additional_detailsstringOptional
modelstringOptional
brandstringOptional
skustringOptional
barcodestringOptional
measure_unitstringOptional
typeintegerOptional
embedded_quantity_barcodeintegerOptional
embedded_quantity_barcode_decimalsintegerOptional
additional_data_1stringOptional
additional_data_2stringOptional
additional_data_3stringOptional
favoriteintegerOptional
inventoriesobjectOptional

Response

Product created successfully.
namestring
Product name
statusinteger

0 = inactive, 1 = active

typeinteger

1 = physical product, 2 = service

product_idstring or null
Read only. Internal ID of the product
invoicing_detailsstring or null

Optional. Extra information to be included in the long_description of invoices

additional_detailsstring or null
Optional. Additional information to be used internally
modelstring or null
Optional. Product model
brandstring or null
Optional. Product brand
skustring or null
Internal code that identifies a product or service. If not entered, an automatic number will be assigned
barcodestring or null
Optional. Barcode that is printed on the product box, usually generated by the supplier
measure_unitstring or null
embedded_quantity_barcodeboolean or null

Optional. This field is used to identify when a product can be sold using embedded quantity barcodes. 0 = not a quantity barcode product. 1 = quantity barcode enabled. 0 by default

embedded_quantity_barcode_decimalsinteger or null
Optional. Decimals associated with the quantity barcode. 0 by default
additional_data_1string or null
Optional. Any additional information you need regarding the product
additional_data_2string or null
Optional. Any additional information you need regarding the product
additional_data_3string or null
Optional. Any additional information you need regarding the product
priceslist of objects or null
inventoriesobject or null