update_commerce_collection
Update a collection's own fields. Only the arguments you set are changed.
To change which products it contains, use add_products_to_commerce_collection, remove_products_from_commerce_collection, or set_commerce_collection_products.
Args: project_id: The project ID. collection_id: The collection ID. title: New collection name. description: New description. slug: New URL slug. image_url: New cover image URL. status: active or draft. sort: New ordering weight. Leave -1 to keep current. seo: JSON object, replaces the existing SEO block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | ||
| slug | No | ||
| sort | No | ||
| title | No | ||
| status | No | ||
| image_url | No | ||
| project_id | Yes | ||
| description | No | ||
| collection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |