Summarise sales into dashboard KPIs
Rolls a period’s finalized sale tickets up into the dashboard KPIs: ticket count, gross TTC sales, basket average, units sold, VAT total and the top-selling products. Pass ?period= (e.g. today (default) / all) and an optional ?store= to narrow to one store; without a store it aggregates across every store. Money is integer cents. For the per-ticket rows use the list operation.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Response
The aggregated sales KPIs plus the top sellers.
The aggregated sales KPIs plus the top sellers.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991
