shopify_get_metafields
Retrieve metafields from any Shopify resource (product, customer, order, variant, collection, or shop) with optional namespace filtering and result limits.
Instructions
Read metafields on a Shopify resource (product, customer, order, variant, collection, or shop).
Args: owner_type: One of: PRODUCT, CUSTOMER, ORDER, VARIANT, COLLECTION, SHOP. Defaults to PRODUCT. owner_id: Resource ID (numeric or GID). Required unless owner_type=SHOP. namespace: Optional metafield namespace filter. limit: Maximum metafields to return (1-250).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner_type | No | ||
| owner_id | No | ||
| namespace | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |