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}.
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 |