Get Configuration Run in API Explorer
Ask AI
This endpoint provides information such as settings, features and requirements based on the account's configuration.
GET
/loyalty/{channelLinkId}/configuration
curl \
--request GET 'https://api.staging.deliverect.com/loyalty/{channelLinkId}/configuration' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"enabled": true,
"features": {
"supportsSSO": false,
"requiresEmail": true,
"requiresPhoneNumber": false,
"supportsFlatPrograms": true,
"supportsBOGOFPrograms": true,
"supportsFreeItemPrograms": true,
"supportsExternalSignUpUrl": true,
"supportsWalletCashBalance": false,
"supportsWalletPointsBalance": true,
"supportsDynamicConfiguration": false
},
"providerId": 10000,
"providerName": "Generic",
"cashbackConfig": {
"title": "VIP Customers",
"description": "Exclusive rewards for our VIP customers",
"burningRules": [
{
"cost": {
"type": "percentage",
"value": 5000,
"maxBurningAmount": 500
},
"type": "purchase"
},
{
"cost": {
"type": "fixed",
"value": 500
},
"type": "purchase"
}
],
"earningRules": [
{
"type": "cash_back",
"reward": {
"type": "percentage",
"value": 1000
}
},
{
"type": "sign_up",
"reward": {
"type": "fixed",
"value": 1000
}
}
]
},
"externalSignUpUrl": "https://deliverect.com/signup"
}
Response examples (400)
{}