get_top_products
Retrieve best-selling products ranked by units sold with revenue per product, excluding cancelled orders. Use for product sales rankings without writing joins.
Instructions
Get the best-selling products ranked by units sold, with revenue per product. Cancelled orders are excluded. Use this for 'best-selling products' questions instead of writing the order_items→products join yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No |