Compare an ad-hoc tag/ingredient set
GET/api/workspaces/:workspaceId/statistics/advanced/compare
Required API-key permission: STATISTICS_READ — Read sales statistics
Computes KPIs, matching cocktails and a cross-aggregate for an ad-hoc tag or ingredient set (with AND/OR logic). Emits a { data } envelope. Uses all-time when no date range is given.
Request
Responses
- 200
- 400
- 401
- 403
Compare an ad-hoc tag/ingredient set
type and items are required.
Missing or invalid credentials
Insufficient permissions