get_customer_stats
Get summary spend stats for a customer by exact ID: total orders, spend (excluding cancelled/refunded), average order value, and lifetime value.
Instructions
Get summary spend statistics for a single customer by their exact customer ID (e.g. 'CUST-0007'): total order count, total spend (excluding cancelled/refunded orders), average order value, and lifetime value. Use this for questions about how much a specific customer has spent, rather than their raw order list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | The exact customer ID, e.g. 'CUST-0007'. |