Product
Create Product
Add a new product to a workspace
post/workspaces/{workspace_id}/products
Path parameters
workspace_idinteger required
Request body
Example request
{
"product": {
"product": {
"name": "Sample Product",
"current_path": null,
"visible_in_store": true,
"visible_in_customer_center": true,
"seo_title": "Buy Sample Product Online",
"seo_description": "This is a sample product.",
"seo_image_id": null,
"commissionable": true,
"image_ids": [],
"redirect_funnel_id": null,
"cancellation_funnel_url": null,
"tag_ids": [
1,
2,
3
],
"variant_properties": [
{
"id": 1,
"name": "Size"
},
{
"id": 2,
"name": "Color"
}
]
}
}
}Response
Created
Example response
{
"id": 22,
"public_id": "RTWMAd",
"workspace_id": 42000,
"name": "Sample Product",
"current_path": null,
"archived": false,
"visible_in_store": true,
"visible_in_customer_center": true,
"image_id": null,
"seo_title": "Buy Sample Product Online",
"seo_description": "This is a sample product.",
"seo_image_id": null,
"commissionable": true,
"image_ids": [],
"default_variant_id": 22,
"variant_ids": [
22
],
"price_ids": [],
"tag_ids": [],
"redirect_funnel_id": null,
"cancellation_funnel_url": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"variant_properties": [
{
"id": 22,
"name": "Color"
}
]
}