curl --location --request GET 'https://api.mpc.dev.placewise.com/v1/members/1/benefits' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Client-Authorization: ' \
--header 'X-Locale: pl'
{
"benefits": [
{
"id": 1,
"type": "generic",
"identifier": "my_program_1",
"name": "Name",
"description": "Description",
"conditions": "Conditions",
"active": true
}
],
"pagination_info": {
"count": 1000,
"total_count": 2050,
"per_page": 1000,
"total_pages": 3,
"current_page": 1,
"next_page": 2,
"prev_page": null,
"is_first_page": true,
"is_last_page": false,
"is_out_of_range": false,
"offset": 0
}
}