Create a new product in a product type.
Security
oAuth2ClientCredentials
Code of the product. Use it as the reference to the product in your system.
Default:""
Example:"UN1090"
Free-text description of the product.
Default:""
Example:"Acetone, flammable liquid"
Product type the product belongs to. A product can't move to another product type.
- https://api.qargo.comhttps://api.qargo.com/v1/products/product
{ "code": "UN1090", "description": "Acetone, flammable liquid", "name": "Acetone", "product_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "parent_product": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } }
Successful Response
Code of the product. Use it as the reference to the product in your system.
Default:""
Example:"UN1090"
Free-text description of the product.
Default:""
Example:"Acetone, flammable liquid"
Whether the product is archived. Archived products can't be used on new orders.
Response
{ "code": "UN1090", "description": "Acetone, flammable liquid", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Acetone", "is_archived": true, "product_type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Chemicals", "code": "CHEM" }, "parent_product": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "Acetone", "code": "UN1090" } }