get-customer-by-id
Retrieve detailed Shopify customer information by ID, including addresses, marketing consent, and metafields, to support account, compliance, and segmentation workflows.
Instructions
Get detailed information about a specific customer including addresses, marketing consent, and metafields.
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": {
"customerId": "<customerId>"
},
"name": "get-customer-by-id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | Shopify customer ID or GID |