list_customer_metafields
Retrieve all metafields associated with a Shopify customer using GraphQL. Filter by namespace to get specific custom data.
Instructions
List all metafields for a customer 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": {
"customer_id": "<customer_id>"
},
"name": "list_customer_metafields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | The numeric Shopify customer ID (or GID). | |
| namespace | No | Filter by namespace. | |
| limit | No | Number of metafields to return. Default: 50. |