#
Service URL: GET /loyalty
Response Body:
IListLoyaltyAccountsResponse
accountList – List<ICustomerLoyaltyAccount> – A list of accounts associated with the customer, including the account id.
Remarks:
This service is used to find all loyalty accounts that a customer is associated with. The customer is derived from the access token and cannot be directly specified.
Scenarios
Example Request:1GET: http://localhost:8080/WebRestApi/rest/loyalty
{
"accountList": [
{
"customerLoyaltyAccount": {
"loyaltySchemeId": {
"id": "LOYALTY_UK"
},
"tierCode": "UK3",
"manualTierReview": false,
"accountId": "1",
"accountType": "customerLoyaltyAccount",
"accountOpenedDate": 1397516400000,
"status": "ACTIVE",
"customerNumber": "1",
"currencyId": {
"id": "EUR"
}
}
}
]
}