All cocktails with order counts
GET/api/v1/workspaces/:workspaceId/statistics/advanced/cocktails/all
Required API-key permission: STATISTICS_READ — Read sales statistics
Lists every cocktail in the workspace (name-ordered) with its order count for the given range; cocktails without orders are included with count 0. Order counts are only computed when both startDate and endDate are supplied. Emits a { data, total } envelope.
Request
Responses
- 200
- 400
- 401
- 403
All cocktails with order counts
Validation error
Missing or invalid credentials
Insufficient permissions