get_customer
Retrieve a customer's contact details, group, loyalty balance, year-to-date spend, addresses, and optional store credit balance by customer ID for account lookups.
Instructions
One customer (contact details, group, loyalty balance, year-to-date spend) with addresses and, by default, store credit balance.
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": "get_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| include_store_credit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |