# Hermoso: manage_shopify_metafields · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/manage_shopify_metafields/. 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_metafields

# `manage_shopify_metafields`

Shopify metafields 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

Custom fields (metafields) on the merchant's Shopify store. action list (metafieldOwnerId: a product, variant, collection, order, draft order, page, article or blog id, or "shop"; namespace), set (metafields [{ownerId, namespace, key, type, value}] up to 25, or one with ownerId, namespace, key, type, value; type e.g. single_line_text_field, multi_line_text_field, number_integer, number_decimal, boolean, json, url, date; an existing field keeps its type), delete (confirm:true), definitions (ownerType PRODUCT, ORDER, COLLECTION, …), create_definition (name, namespace, key, type, ownerType, description). Customer, location and market metafields are not available: Hermoso does not ask for those permissions. Read back from Shopify. Free.

## Parameters

Parameter Type Description

`action` `"list" | "set" | "delete" | "definitions" | "create_definition"` default list

`metafieldOwnerId` `string` what the metafields belong to: gid://shopify/Product/123 and the like, or "shop"

`ownerId` `string` older name for metafieldOwnerId (MCP only)

`namespace` `string`

`key` `string`

`type` `string`

`value` `string` a JSON value is stored as text

`metafields` `object[]` set / delete: up to 25

`metafields[].ownerId` `string`

`metafields[].namespace` `string`

`metafields[].key` `string`

`metafields[].type` `string`

`metafields[].value` `string`

`ownerType` `string` definitions: PRODUCT, PRODUCTVARIANT, COLLECTION, ORDER, DRAFTORDER, PAGE, ARTICLE, BLOG, SHOP, …

`name` `string` create_definition

`description` `string`

`pin` `boolean`

`limit` `number`

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

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_shopify_metafields","arguments":{}}}`
**CLI**

`hermoso call manage_shopify_metafields --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_collections](https://hermoso.ai/docs/reference/publish/manage_shopify_collections/) Shopify collections
- [manage_shopify_pages](https://hermoso.ai/docs/reference/publish/manage_shopify_pages/) Shopify Online Store pages
- [manage_shopify_draft_orders](https://hermoso.ai/docs/reference/publish/manage_shopify_draft_orders/) Shopify draft orders
- [manage_shopify_redirects](https://hermoso.ai/docs/reference/publish/manage_shopify_redirects/) Shopify URL redirects
- [set_shopify_inventory](https://hermoso.ai/docs/reference/publish/set_shopify_inventory/) Set or adjust Shopify stock
- [manage_shopify_menus](https://hermoso.ai/docs/reference/publish/manage_shopify_menus/) Shopify navigation menus
- [get_shopify_inventory](https://hermoso.ai/docs/reference/publish/get_shopify_inventory/) Get Shopify stock
- [manage_shopify_markets](https://hermoso.ai/docs/reference/publish/manage_shopify_markets/) Shopify markets
- [list_shopify_locations](https://hermoso.ai/docs/reference/publish/list_shopify_locations/) List Shopify locations
- [manage_shopify_products](https://hermoso.ai/docs/reference/publish/manage_shopify_products/) Shopify products

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