top_selling_items
Rank items by quantity sold or sales amount over today, this week, or a custom date range to identify leading dishes and products.
Instructions
Get the top-selling items for a period, ranked by quantity sold or by sales amount. Answers: What was the best-selling dish today?
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 items to return (1-50) | |
| metric | No | Ranking metric: by quantity sold or by sales amount | quantity |
| period | No | Date preset for the period | |
| store_id | No | Filter by store UUID |