Ingredient usage statistics
GET/api/v1/workspaces/:workspaceId/statistics/advanced/ingredients
Required API-key permission: STATISTICS_READ — Read sales statistics
Lists every ingredient with its order-usage count, the number of distinct cocktails using it, and its share of period orders. Counts are only computed when both startDate and endDate are supplied. Emits a { data, total } envelope.
Request
Responses
- 200
- 400
- 401
- 403
Ingredient usage statistics
Validation error
Missing or invalid credentials
Insufficient permissions