Get a customer
get_customerFetch a customer's full record by email address, including purchases, subscriptions, and order IDs used to manage subscriptions or process refunds.
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.
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. |