Create product
create_productCreate a catalog product. Defaults to draft status — publish it by sending status 'active' once it is complete. Use list_categories, list_brands and list_warehouses for the ids; SKU is generated when omitted and must be unique in the workspace. Set trackInventory with an opening stock to start counting units, which is recorded as the first movement in the product stock history. A bundle (type bundle with bundleItems) holds no stock of its own: its stock, tracking and cost are derived from its components, so a stock sent for it is refused and trackInventory/costPrice are ignored. If the target warehouse is set to list new products on the marketplaces, this product joins those channels. When productGroupId names an existing product model, the product joins that model as a new article and takes the model's shared content (name, description, category, brand, characteristics, translations) instead of the values sent. Enforces the workspace plan limit; the result echoes the operating workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ean | No | GTIN/EAN-8/12/13/14 barcode. Presence-and-shape validation only, no checksum. | |
| mpn | No | Manufacturer part number — the maker's own code for the item, not the shop SKU. eBay requires it beside the brand in many categories. | |
| sku | No | ||
| name | Yes | ||
| size | No | ||
| tags | No | ||
| type | No | simple, or bundle — one sellable item made of bundleItems, holding no stock of its own. Fixed at creation: an update that changes it is refused. | simple |
| unit | No | ||
| color | No | ||
| depth | No | ||
| price | No | ||
| stock | No | Units on hand, for a product that tracks inventory; a change on update is recorded as a relative movement in the stock history. Refused for a bundle — its stock is derived from its components. | |
| width | No | ||
| gender | No | ||
| height | No | ||
| images | No | The product's photos as { url, alt }, at most 10; the first is the main photo. On an update the list you send replaces the whole set. An entry whose url equals a photo the product already has keeps that stored file and takes only the caption (alt) you send, so sending back what you read never downgrades a stored photo. | |
| status | No | draft | |
| videos | No | Video links for the product page (YouTube, Vimeo or a direct file), https only, at most 5. Links, not uploads. On update, sending the field replaces the whole list. | |
| weight | No | ||
| brandId | No | ||
| pattern | No | ||
| ageGroup | No | ||
| material | No | ||
| sizeType | No | ||
| condition | No | ||
| costPrice | No | Purchase price per unit, in costCurrency. Ignored for a bundle: its cost is the sum of its components' costs when all are known and in one currency. | |
| categoryId | No | ||
| sizeSystem | No | ||
| supplierId | No | ||
| weightUnit | No | ||
| bundleItems | No | Components of a bundle (type bundle only): simple, non-archived products of the bundle's warehouse, each listed once. Selling the bundle deducts these components; the bundle's stock is how many whole bundles they make. On update, sending it replaces the whole composition. | |
| description | No | ||
| warehouseId | No | ||
| costCurrency | No | ||
| dimensionUnit | No | ||
| compareAtPrice | No | ||
| productGroupId | No | ||
| trackInventory | No | Whether the product counts units. Ignored for a bundle: it tracks stock exactly when one of its components does. |