Create/Update Shopify Metafield
shopify_set_metafieldCreate or update a metafield on Shopify resources such as products, collections, pages, or articles to store custom data by namespace, key, value, and type.
Instructions
Upsert a metafield on any resource you have write access to (products, collections, pages, articles).
Common types: single_line_text_field, multi_line_text_field, integer, boolean, json, url, color, date, file_reference
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| type | Yes | Metafield type e.g. single_line_text_field, json | |
| value | Yes | ||
| ownerId | Yes | Owner GID | |
| namespace | Yes |