shopify_update_collection
Update a Shopify collection's fields, rules, image, sort order, or add products to a manual collection; preview changes with a dry run before applying.
Instructions
Update collection fields, rules or image, and add products to a manual collection (addProductIds). dryRun:true (the default) returns the current collection and the change without applying it; dryRun:false applies it and returns before and after.
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": {
"store": "<store>",
"id": "<id>"
},
"name": "shopify_update_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| image | No | ||
| store | Yes | ||
| title | No | ||
| dryRun | No | True (the default) returns a before/after preview without changing anything in Shopify. Pass false, after the user authorizes this store and exact change, to apply it; the tool then reads the result back. | |
| ruleSet | No | ||
| sortOrder | No | ||
| addProductIds | No | Products to add to a manual collection. Smart collection membership follows its rules. | |
| descriptionHtml | No |