manage_shopify_collections
Shopify collections destructive
Description
Collections on the merchant's Shopify store. action list (type manual or automatic; title), get (id, with its first products), create (title, description, handle, sortOrder, seoTitle, seoDescription, imageUrl; productIds for hand-picked products and/or conditions [{field tag|title|type|vendor|price, relation, values}] with matchType all|any for an automatic one; publish:true shows it on the Online Store at once), update (those fields, addConditions, removeSourceIds), add_products / remove_products (productIds), reorder_products (moves [{productId, position}], a MANUAL-sorted collection), publish / unpublish (the Online Store, or publicationId), delete (confirm:true; the products are kept). A new collection is unpublished unless publish:true. Read back from Shopify. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
action | "list" | "get" | "create" | "update" | "delete" | "add_products" | "remove_products" | "reorder_products" | "publish" | "unpublish" | default list (get when id is passed) |
id | string | gid://shopify/Collection/… or its number |
moves | object[] | reorder_products: only the products that move; position 0 is first (sortOrder must be MANUAL) |
moves[].productIdrequired | string | |
moves[].positionrequired | number | |
type | "manual" | "automatic" | list: only these |
title | string | |
query | string | |
limit | number | list: 1-50 |
description | string | HTML |
handle | string | |
sortOrder | "ALPHA_ASC" | "ALPHA_DESC" | "BEST_SELLING" | "CREATED" | "CREATED_DESC" | "MANUAL" | "MOST_RELEVANT" | "PRICE_ASC" | "PRICE_DESC" | |
seoTitle | string | |
seoDescription | string | |
imageUrl | string | |
imageAlt | string | |
templateSuffix | string | |
productIds | string[] | products: gid://shopify/Product/… or their numbers |
conditions | object[] | field tag (TAGGED_WITH, NOT_TAGGED_WITH), title/type/vendor (EQUALS, NOT_EQUALS, CONTAINS, DOES_NOT_CONTAIN, STARTS_WITH, ENDS_WITH) or price (GREATER_THAN, LESS_THAN, EQUALS, NOT_EQUALS; value) |
conditions[].field | string | |
conditions[].relation | string | |
conditions[].values | string[] | |
conditions[].value | string | |
conditions[].matchType | string | |
matchType | "all" | "any" | conditions: all (default) or any |
addConditions | object[] | update: a new condition source |
addConditions[].field | string | |
addConditions[].relation | string | |
addConditions[].values | string[] | |
addConditions[].value | string | |
removeSourceIds | string[] | update: sources to drop (ids from get) |
publish | boolean | create: publish to the Online Store |
publicationId | string | publish to this sales channel instead |
confirm | boolean | delete: true after the user agreed |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_shopify_collections.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_shopify_collections","arguments":{}}}
CLI
hermoso call manage_shopify_collections --json '{}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
manage_shopify_draft_ordersShopify draft ordersmanage_shopify_metafieldsShopify metafieldsset_shopify_inventorySet or adjust Shopify stockmanage_shopify_pagesShopify Online Store pagesget_shopify_inventoryGet Shopify stockmanage_shopify_redirectsShopify URL redirectslist_shopify_locationsList Shopify locationsmanage_shopify_menusShopify navigation menusrefund_shopify_orderRefund a Shopify ordermanage_shopify_marketsShopify markets