Key | Type | Description |
---|---|---|
achievements | Achievement[] | List of Achievement objects - see Achievements |
reward_activation_time | integer | Time in seconds describing how long the reward is active after use |
levels_program | object | Definition of member levels - see Levels. When null, there are no levels. |
{
"achievements": [
{
"id": 1,
"type": "app_opened",
"name": "App opened",
"points": 50,
"limit": 20,
"frequency": {
"limit": 10,
"timespan": "day"
}
},
{
"id": 2,
"type": "consent_granted",
"name": "Consents granted",
"points": 1000,
"limit": null,
"frequency": null
}
],
"levels_program": {
"type": "regular",
"levels": [
{
"name": "1",
"points_threshold": 100
},
{
"name": "2",
"points_threshold": 300
},
{
"name": "3",
"points_threshold": 500
}
]
},
"reward_activation_time": 35
}
curl --location --request GET 'https://api.mpc.dev.placewise.com/v3/infinity-mall/rewards-program/info' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
{}