create_commerce_collection
Create a product collection, e.g. "New arrivals" or "Under $50". Only title is required.
Args: project_id: The project ID. title: Collection name. Required. description: Collection description. slug: URL slug. Derived from the title if empty. image_url: Cover image URL. product_ids: JSON array of product ids to link, in display order, e.g. ["abc","def"]. status: active or draft. Draft collections are not published to the storefront. sort: Manual ordering weight; lower sorts first. seo: JSON object {title, description, image_url, canonical_url, robots}.
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": {
"project_id": "<project_id>",
"title": "<title>"
},
"name": "create_commerce_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | ||
| slug | No | ||
| sort | No | ||
| title | Yes | ||
| status | No | active | |
| image_url | No | ||
| project_id | Yes | ||
| description | No | ||
| product_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |