Get a customer's purchase history
Returns the customer’s line-item purchase history — one row per priced ticket line, newest ticket first — projected from the sales read model. Reach for this to answer ‘what has this customer bought’; use listSales instead for store-wide reporting. Pass ?store=<id> to restrict to one store. Amounts are integer cents, VAT-inclusive. An unknown customer (or one who never bought) returns an EMPTY array, not a 404.
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.
Path Parameters
1Query Parameters
1Response
The customer's priced purchase lines, newest ticket first.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991
