Create a metafield for any Shopify resource. Use when you need to attach custom metadata to products, customers, orders, collections, or other supported resources.
keyRequiredstringThe unique identifier for the metafield within its namespace. Must be 3-64 characters, alphanumeric, hyphen, or underscore.
typeRequiredstringThe type of data stored in the metafield. Supported types include: single_line_text_field, multi_line_text_field, number_integer, number_decimal, boolean, json, rating, url, date, date_time, color, weight, volume, dimension, money, and list types.
valueRequiredstringThe data to store in the metafield. Always stored as string format regardless of type.
resourceRequiredstringThe type of resource to attach the metafield to. Supported resources: products, customers, blogs, collections, orders, pages, variants, articles, draft_orders, locations, product_images, smart_collections, shop.
namespaceRequiredstringContainer for a group of metafields. Must be 3-255 characters, alphanumeric, hyphen, or underscore.
descriptionstringOptional description of the metafield to provide context about its purpose.
resource_idstringThe unique identifier of the resource to attach the metafield to. Not required for 'shop' resource.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.