Menu
Get Loyalty Balances
Get customer's loyalty balances
GET
/v1/loyalty_programs/{loyaltyProgramId}/profile/{integrationId}/balancesUse it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Get Loyalty Balances action (under integration).
- Fill in the fields below, then reference the result from later steps as
{{getLoyaltyBalances.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getLoyaltyBalances.response.data.<field>}}.
{
"balance": {
"projectedTier": {
"projectedActivePoints": 198,
"stayInTierPoints": 2,
"projectedTierName": "Tier 1"
},
"negativePoints": 286,
"activePoints": 286,
"spentPoints": 150,
"nextTierName": "Silver",
"pointsToNextTier": 20,
"expiredPoints": 286,
"currentTier": {
"expiryDate": {},
"downgradePolicy": "one_down",
"name": "bronze",
"id": 11,
"startDate": {}
},
"pendingPoints": 50
},
"subledgerBalances": {
"mysubledger": {
"activePoints": 286,
"pendingPoints": 50,
"spentPoints": 150,
"expiredPoints": 25,
"negativePoints": 0
}
}
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?