shopify_list_metafields
Lists metafields for any Shopify resource (e.g., Product, Order) using owner ID and type. Optionally filter by namespace.
Instructions
List metafields on any HasMetafields resource (Product, ProductVariant, Customer, Order, Collection, Shop, Company, Location). Required: ownerId, ownerType. Optional: namespace filter.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ownerId": "<ownerId>",
"ownerType": "<ownerType>"
},
"name": "shopify_list_metafields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ownerId | Yes | ||
| ownerType | Yes | ||
| first | No | ||
| after | No | ||
| namespace | No |