Menu
Get Loyalty Cards
List loyalty cards
GET
/v1/loyalty_programs/{loyaltyProgramId}/cardsUse it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Get Loyalty Cards action (under management).
- Fill in the fields below, then reference the result from later steps as
{{getLoyaltyCards.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getLoyaltyCards.response.data.<field>}}.
{
"hasMore": true,
"data": [
{
"ledger": {
"pendingBalance": 10,
"nextTierName": "Silver",
"negativeBalance": 10,
"currentBalance": 100,
"spentBalance": 0,
"tentativeCurrentBalance": 100,
"tentativePendingBalance": 20,
"pointsToNextTier": 20,
"expiredBalance": 0,
"currentTier": {
"expiryDate": {},
"downgradePolicy": "one_down",
"name": "bronze",
"id": 11,
"startDate": {}
},
"tentativeNegativeBalance": 100
},
"identifier": "summer-loyalty-card-0543",
"oldCardIdentifier": "summer-loyalty-card-0543",
"usersPerCardLimit": 111,
"created": {},
"profiles": [
{
"integrationId": "R195412",
"timestamp": {}
},
{
"integrationId": "R195412",
"timestamp": {}
}
],
"subledgers": {
"key": {
"pendingBalance": 10,
"nextTierName": "Silver",
"negativeBalance": 10,
"currentBalance": 100,
"spentBalance": 0,
"tentativeCurrentBalance": 100,
"tentativePendingBalance": 20,
"pointsToNextTier": 20,
"expiredBalance": 0,
"currentTier": {
"expiryDate": {},
"downgradePolicy": "one_down",
"name": "bronze",
"id": 11,
"startDate": {}
},
"tentativeNegativeBalance": 100
}
},
"batchId": "wdefpov",
"programTitle": "Loyalty program",
"programName": "Loyalty_program",
"modified": {},
"id": 6,
"blockReason": "Current card lost. Customer needs a new card.",
"newCardIdentifier": "summer-loyalty-card-0543",
"programID": 125,
"status": "active"
}
]
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?