Advanced cocktail ranking
GET/api/v1/workspaces/:workspaceId/statistics/advanced/cocktails
Required API-key permission: STATISTICS_READ — Read sales statistics
Ranks cocktails by order count for the given date range, with share/delta vs. the previous equal-length period and each cocktail’s ingredient breakdown. Emits a { data, total } envelope (not the standard { data }). Requires startDate and endDate.
Request
Responses
- 200
- 400
- 401
- 403
Advanced cocktail ranking
startDate and endDate are required.
Missing or invalid credentials
Insufficient permissions