{
"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
}
Create Product
Create a product via the WISEPIM API with attributes, pricing, inventory, and categories. Includes request parameters, validation rules, and examples.
POST
/
api
/
products
{
"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
}
Create a new product with the specified attributes and settings.
Body Parameters
string
required
Unique identifier for the product within a project
string
required
Product name
integer
required
ID of the project this product belongs to
string
Rich text description of the product
string
Brief product description for listings
decimal
Product price. Must be zero or positive; a negative
price, special_price or cost returns 400. Leave it out to store the product without a price (price_state becomes missing)string
default:"simple"
Type of product. One of: simple, configurable, virtual, bundle, grouped
string
default:"active"
Product status. One of: active, inactive, pending, archived
array
Array of category IDs this product belongs to
object
Key-value pairs of product attributes and their values
Response
integer
The unique identifier for the created product
string
The product SKU
string
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
}

