list_order_metafields
List all metafields for a Shopify order by providing the order ID. Optionally filter by namespace and set a limit on results.
Instructions
List all metafields for an order via GraphQL.
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": {
"order_id": "<order_id>"
},
"name": "list_order_metafields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | The numeric Shopify order ID (or GID). | |
| namespace | No | Filter by namespace. | |
| limit | No | Number of metafields to return. Default: 50. |