Create a new product with the specified attributes and settings.
Body Parameters
Unique identifier for the product within a project
ID of the project this product belongs to
Rich text description of the product
Brief product description for listings
Product price (defaults to 0.00)
Type of product. One of: simple, configurable, virtual, bundle, grouped
Product status. One of: active, inactive, pending, archived
Array of category IDs this product belongs to
Key-value pairs of product attributes and their values
Response
The unique identifier for the created product
Timestamp when the product was created
{
"sku": "PROD-001",
"name": "Example Product",
"project": 1,
"description": "Detailed product description",
"short_description": "Brief overview",
"price": 99.99,
"product_type": "simple",
"status": "active",
"categories": [1, 2],
"attributes": {
"color": "blue",
"size": "medium"
}
}
{
"id": 1,
"sku": "PROD-001",
"name": "Example Product",
"created_at": "2024-01-01T12:00:00Z",
"status": "active",
"project": 1
}