get_top_items
Identify top-selling products by units sold in a given date range, defaulting to today. Use to analyze sales performance and optimize inventory.
Instructions
Return the best-selling items in a date window, ranked by units sold.
Defaults to today (UTC); 90-day chunked. Each line item counts as one unit. Requires ORDERS_R.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| date_to | No | ||
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||