# Hermoso: manage_shopify_collections · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/manage_shopify_collections/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / manage_shopify_collections

# `manage_shopify_collections`

Shopify collections destructive

Area: SHOPIFY: the merchant's own storefront · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

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[].productId` required `string`

`moves[].position` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [manage_shopify_draft_orders](https://hermoso.ai/docs/reference/publish/manage_shopify_draft_orders/) Shopify draft orders
- [manage_shopify_metafields](https://hermoso.ai/docs/reference/publish/manage_shopify_metafields/) Shopify metafields
- [set_shopify_inventory](https://hermoso.ai/docs/reference/publish/set_shopify_inventory/) Set or adjust Shopify stock
- [manage_shopify_pages](https://hermoso.ai/docs/reference/publish/manage_shopify_pages/) Shopify Online Store pages
- [get_shopify_inventory](https://hermoso.ai/docs/reference/publish/get_shopify_inventory/) Get Shopify stock
- [manage_shopify_redirects](https://hermoso.ai/docs/reference/publish/manage_shopify_redirects/) Shopify URL redirects
- [list_shopify_locations](https://hermoso.ai/docs/reference/publish/list_shopify_locations/) List Shopify locations
- [manage_shopify_menus](https://hermoso.ai/docs/reference/publish/manage_shopify_menus/) Shopify navigation menus
- [refund_shopify_order](https://hermoso.ai/docs/reference/publish/refund_shopify_order/) Refund a Shopify order
- [manage_shopify_markets](https://hermoso.ai/docs/reference/publish/manage_shopify_markets/) Shopify markets

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
