- “What are my top 5 products?”
- “What’s selling the most right now?”
- “Which SKUs should I feature / optimize?”
ordersAreStale in the response to know which period was actually used.
Response shape: { products: […], windowDays, ordersAreStale }. Each product has title, sku, productType, status, units, revenue, price, url.
Example: calling with { limit: 5 } returns the five best-selling products over the last 30 days (or all-time, if nothing sold in the last 30 days).