top_customers
Ranks the requested number of customers by net revenue after refunds within an optional date range, returning ID, name, state, order count, revenue, refunds, and first/last order times.
Instructions
The n customers with the highest net revenue (after refunds) in an optional date range.
n is 1-100. Returns customer id, name, state, order count, revenue, refunds, and first/last order time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| end | No | ||
| start | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||