Create a Product
Create a new product in your organization.
Endpoint
POST/products
Request
Loading editor...
Response
json Loading editor...
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
organization_id | Number | Yes | ID of the organization |
name | String | Yes | Name of the product |
description | String | No | Description of the product |
status | String | Yes | Product status ('active' or 'inactive') |
type | String | Yes | Product type ('product' or 'service') |
price | Number | No | Price of the product |
sku | String | No | Stock keeping unit identifier |
product_category_id | Number | No | ID of the product category |
parent_id | Number | No | ID of the parent product (for variants) |
is_variant | Boolean | No | Whether this is a product variant (default: false) |
stock_quantity | Number | No | Stock quantity (for physical products) |
Report an issue with this documentation
Please log in to report issues with our documentation.