Error
A valid request URL is required to generate request examples{
"id": "lm-camille",
"customerName": "Camille Renard",
"tier": "Or",
"balance": 1240,
"lifetimePoints": 1820,
"status": "active"
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Loyalty
Get a loyalty member by id (fidélité)
Returns one row of the loyalty member directory. The path takes a MEMBER id (as returned by listLoyaltyMembers), not a customer id — for a customer id use getLoyaltyAccount. 404s when no member carries the id.
GET
/
v1
/
loyalty
/
{memberId}
Error
A valid request URL is required to generate request examples{
"id": "lm-camille",
"customerName": "Camille Renard",
"tier": "Or",
"balance": 1240,
"lifetimePoints": 1820,
"status": "active"
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}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
The loyalty MEMBER id to read, as returned by listLoyaltyMembers.
Minimum string length:
1Response
The loyalty member directory row.
The loyalty member directory row.
Minimum string length:
1Minimum string length:
1Minimum string length:
1Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Minimum string length:
1
