top_employees_by_sales
Rank waiters or cashiers by sales amount or receipt count to identify top performers over a chosen period, store, or date range.
Instructions
Get the top employees (waiters/cashiers) by sales amount or receipt count. Answers: Which waiter sold the most this month?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (ISO 8601) for explicit date range | |
| from | No | Start date (ISO 8601) for explicit date range | |
| limit | No | Number of top employees to return (1-50) | |
| metric | No | Ranking metric: by total sales amount or by number of receipts | sales_amount |
| period | No | Date preset for the period | |
| store_id | No | Filter by store UUID |