Menu
Get Loyalty Program Transactions
List loyalty program transactions
GET
/v1/loyalty_programs/{loyaltyProgramId}/transactionsUse it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Get Loyalty Program Transactions action (under management).
- Fill in the fields below, then reference the result from later steps as
{{getLoyaltyProgramTransactions.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getLoyaltyProgramTransactions.response.data.<field>}}.
{
"hasMore": true,
"data": [
{
"rulesetId": 11,
"amount": 10.25,
"campaignId": 324,
"created": {},
"flags": {
"createsNegativeBalance": true
},
"customerSessionId": "05c2da0d-48fa-4aa1-b629-898f58f1584d",
"type": "addition",
"userId": 5,
"cardIdentifier": "summer-loyalty-card-0543",
"expiryDate": "2022-01-02T15:04:05Z07:00",
"transactionUUID": "ce59f12a-f53b-4014-a745-636d93f2bd3f",
"importId": 4,
"customerProfileId": "kda0fajs0-fad9f-fd9dfsa9-fd9dasjf9",
"subledgerId": "sub-123",
"name": "Reward 50 points for each $500 purchase",
"validityDuration": "30D",
"ruleName": "10 points for every $100 spent",
"userEmail": "john.doe@example.com",
"id": 123,
"programId": 324,
"startDate": "2022-01-02T15:04:05Z07:00"
}
]
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?