list_product_metafields
Retrieve all metafields for a Shopify product. Includes key, namespace, type, and value, with optional namespace filtering.
Instructions
List all metafields attached to a product via GraphQL. Returns key, namespace, type, jsonValue, and more. Optionally filter by namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The numeric Shopify product ID (or GID like 'gid://shopify/Product/123'). | |
| namespace | No | Filter by metafield namespace (e.g. 'custom'). | |
| limit | No | Number of metafields to return (1–100). Default: 50. |