curl --request GET \
--url https://vanilla-dev02-loyalty.fabric.zone/api/v1/inquire/points-expiry \
--header 'Authorization: Bearer <token>'
{
"message": "Success",
"data": [
{
"expiryDuration": 30,
"unRestrictedTotalPoints": 100,
"restrictedTotalPoints": 12,
"totalPoints": 112,
"pointValue": 112,
"restrictedPoints": [
{
"points": 12,
"restrictedLocation": "demo_store"
}
],
"expiryDate": "2020-03-20T01:30:08.180856"
}
],
"status": 200,
"errors": {}
}
Gets all points that will expire within a year starting at 30 days, 60 days, and up to one year.
curl --request GET \
--url https://vanilla-dev02-loyalty.fabric.zone/api/v1/inquire/points-expiry \
--header 'Authorization: Bearer <token>'
{
"message": "Success",
"data": [
{
"expiryDuration": 30,
"unRestrictedTotalPoints": 100,
"restrictedTotalPoints": 12,
"totalPoints": 112,
"pointValue": 112,
"restrictedPoints": [
{
"points": 12,
"restrictedLocation": "demo_store"
}
],
"expiryDate": "2020-03-20T01:30:08.180856"
}
],
"status": 200,
"errors": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Profile ID. It is generated in the response of the Enroll Member
endpoint - POST /v1/members.
OK
The response is of type object
.
Was this page helpful?