Key | Type | Description |
---|---|---|
left | integer | (optional) How many more times the member can use the Reward. When null, there's no limit. |
active_until | datetime | (optional) The last time time the reward has been used at + activation time (configurable per Loyalty Club, e.x. 30s). When null, the reward has not been activated (used) yet |
usable_until | datetime | (optional) Time after which the reward will be unusable. When null, there's no time limit. |
usable | boolean | Will the reward be still usable after activation time passes? |
{
"rewards": [
{
"id": 1000062,
"name": "Awesome Toaster",
"description": "It has incredible features.",
"files": [
{
"url": "https://offers-api.s3.eu-central-1.amazonaws.com/offer-1000062-default-mobile.jpg",
"width": 225,
"height": 300,
"kind": "reward_default",
"size_type": "thumbnail"
},
{
"url": "https://offers-api.s3.eu-central-1.amazonaws.com/offer-1000062-default-mobile.jpg",
"width": 300,
"height": 400,
"kind": "reward_default",
"size_type": "base"
},
{
"url": "https://offers-api.s3.eu-central-1.amazonaws.com/offer-1000062-default-mobile.jpg",
"width": 600,
"height": 800,
"kind": "reward_default",
"size_type": "original"
}
],
"usage": {
"left": 3,
"active_until": "2019-01-31T11:24:15.278Z",
"usable_until": "2019-02-05T08:15:23.581Z",
"usable": true
}
}
]
}