hermosodocs

manage_shopify_collections

Shopify collections destructive

Area: SHOPIFY: the merchant's own storefront · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
action"list" | "get" | "create" | "update" | "delete" | "add_products" | "remove_products" | "reorder_products" | "publish" | "unpublish"default list (get when id is passed)
idstringgid://shopify/Collection/… or its number
movesobject[]reorder_products: only the products that move; position 0 is first (sortOrder must be MANUAL)
moves[].productIdrequiredstring
moves[].positionrequirednumber
type"manual" | "automatic"list: only these
titlestring
querystring
limitnumberlist: 1-50
descriptionstringHTML
handlestring
sortOrder"ALPHA_ASC" | "ALPHA_DESC" | "BEST_SELLING" | "CREATED" | "CREATED_DESC" | "MANUAL" | "MOST_RELEVANT" | "PRICE_ASC" | "PRICE_DESC"
seoTitlestring
seoDescriptionstring
imageUrlstring
imageAltstring
templateSuffixstring
productIdsstring[]products: gid://shopify/Product/… or their numbers
conditionsobject[]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[].fieldstring
conditions[].relationstring
conditions[].valuesstring[]
conditions[].valuestring
conditions[].matchTypestring
matchType"all" | "any"conditions: all (default) or any
addConditionsobject[]update: a new condition source
addConditions[].fieldstring
addConditions[].relationstring
addConditions[].valuesstring[]
addConditions[].valuestring
removeSourceIdsstring[]update: sources to drop (ids from get)
publishbooleancreate: publish to the Online Store
publicationIdstringpublish to this sales channel instead
confirmbooleandelete: 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.

All 728 Publishing & scheduling tools · tools.json