Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

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.

Query Parameters

day
string

The UTC calendar day (YYYY-MM-DD) to tally; defaults to today. A malformed day 400s.

store
string

Narrow the tally to one store by its canonical store id; omit to span every store.

Response

The caller's own tallies for the requested UTC calendar day.

The caller's own tallies for the requested UTC calendar day.

sellerId
string
required
day
string
required

The UTC calendar day tallied (YYYY-MM-DD).

storeId
string | null
required

The store the window was narrowed to, or null.

salesCount
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
returnsCount
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
revenueCents
integer
required

Net gross TTC taken, integer cents (refunds negative).

Required range: -9007199254740991 <= x <= 9007199254740991
itemsSold
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
basketAverageCents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
vatTotalCents
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991