v1
latestOpenAPI 3.0.12026-07-24501176.6 MBGet Points Expiry Schedule
Retrieves the history of points expired schedules of a customer.
get/customers/{userId}/pointsExpirySchedule
Path parameters
userIdinteger required
Unique ID of the customer to fetch points expiry schedule history.
Headers
X-CAP-API-OAUTH-TOKENstring
Response
200
Example response
{
"id": 28780933,
"loyaltyInfo": {
"loyaltyType": "loyalty"
},
"expirySchedules": [
{
"points": 400,
"expiryDate": "2117-07-18",
"programId": 1009,
"pointsType": "bill_regular",
"expiryType": "fixed"
}
]
}