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.

Path Parameters

customerId
string
required

The customer id whose derived loyalty account to read (client Customer.id).

Minimum string length: 1

Response

The derived account: live balance, lifetime points and resolved tier.

The derived account: live balance, lifetime points and resolved tier.

customerId
string
required
balance
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
lifetimePoints
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991
tier
object
required