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