GET Loyalties for Brand
Get Loyalties for Brand
Path Parameters
- Type: stringbrand
_id requiredBrand UUID
- Type: integerloyalty
_id requiredLoyalty identifier. The endpoint returns the loyalty programme configured for the brand, so any value is accepted and
1is conventional.
Headers
- Type: stringX
- Request - I D requiredUnique request identifier
- Type: stringApplicationrequired
Application key
- Type: stringAcceptrequired
Accept header
- Type: stringA
P I -version requiredApi version
- Type: stringAuthorizationrequired
Authorization header
Responses
- application/json
Request Example for get/brands/{brand_id}/loyalties/{loyalty_id}
curl 'https://api-public-demo.menu.app/api/brands/{brand_id}/loyalties/1' \
--header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937' \
--header 'Application: ' \
--header 'Accept: application/json' \
--header 'API-version: 5.0.0' \
--header 'Authorization: '
{
"status": "OK",
"code": 200,
"data": {
"loyalty": {
"brand_id": "ea3c2a24-6210-40b3-84ef-447ee9d471b9",
"point_name": "Points",
"description": "",
"point_limit": 0,
"registration_points": 1000,
"point_expiration_days": 181,
"purchase_amount_rounding_strategy": "ROUND_UP",
"faq_link": "",
"tos_link": "",
"show_reward_tiers": true,
"reward_tiers_types": "CAROUSEL",
"highlight_last_reward_tier": false,
"card_code_type": "BARCODE",
"allow_for_pos": true,
"allow_for_kiosk": true,
"loyalty_channels": [
1
]
}
}
}