Get a customer
get_customerFetch a customer's purchases, subscriptions, and order IDs by their email address.
Instructions
Get one customer's full record by email address: their purchases, subscriptions and order ids. This is where an order_id comes from for pause_subscription, resume_subscription, cancel_subscription and refund_transaction. Email is the only way ThriveCart identifies a customer, and there is no endpoint that lists customers, so use get_transactions when you need to see many at once.
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": {
"email": "<email>"
},
"name": "get_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The customer's email address, exactly as they bought with. | ||
| account | No | Which configured ThriveCart account to use, by name (for example 'navid-media'). Defaults to the first configured account. Call list_accounts to see them. Figures from one cart never include another. |