update_smart_collection
Update a smart collection's sort order, title, or description by providing the collection ID and desired fields. Only specified fields are modified.
Instructions
Update a smart (automatic) collection's sort order or other metadata. Only provided fields are changed.
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": {
"collection_id": "<collection_id>"
},
"name": "update_smart_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | The numeric Shopify smart collection ID. | |
| title | No | New title. | |
| body_html | No | New HTML description. | |
| sort_order | No | New sort order for products in this collection. |