Get Product Leaderboard
GET/api/reporting/products/leaderboard
Server-paginated, sortable product leaderboard for the resolved period — used when the macro dashboard's leaderboard table changes page or sort. Returns the standard Laravel pagination envelope.
Authentication: Requires Bearer token (scope: reports)
Accepts the same period parameters as Get Product Overview, plus:
- sort: column to sort by, prefix with - for descending
- page / per_page: standard pagination controls (per_page default 25)
Request
Responses
- 200
Successful response