hermosodocs

manage_shopify_metafields

Shopify metafields destructive

Area: SHOPIFY: the merchant's own storefront · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
action"list" | "set" | "delete" | "definitions" | "create_definition"default list
metafieldOwnerIdstringwhat the metafields belong to: gid://shopify/Product/123 and the like, or "shop"
ownerIdstringolder name for metafieldOwnerId (MCP only)
namespacestring
keystring
typestring
valuestringa JSON value is stored as text
metafieldsobject[]set / delete: up to 25
metafields[].ownerIdstring
metafields[].namespacestring
metafields[].keystring
metafields[].typestring
metafields[].valuestring
ownerTypestringdefinitions: PRODUCT, PRODUCTVARIANT, COLLECTION, ORDER, DRAFTORDER, PAGE, ARTICLE, BLOG, SHOP, …
namestringcreate_definition
descriptionstring
pinboolean
limitnumber
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_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.

All 728 Publishing & scheduling tools · tools.json