Menu
Activate Loyalty Points
Activate loyalty points
POST
/v1/loyalty_programs/{loyaltyProgramId}/activate_pointsUse it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Activate Loyalty Points action (under integration).
- Fill in the fields below, then reference the result from later steps as
{{activateLoyaltyPoints.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"transactionUUIDs": [
"8f1a8d7c-9c3e-4a5e-9f0d-2c5f7a3b1cde"
],
"sessionId": "ac08cc3c43470426591ad75b2d685ec04_v2"
}
Response
Returns 200 with an object. Read it in later steps with {{activateLoyaltyPoints.response.data.<field>}}.
{
"ledgerEntries": [
{
"eventID": 5,
"amount": 100,
"created": {},
"flags": {
"createsNegativeBalance": true
},
"subLedgerID": "mysubledger",
"customerSessionID": "t2gy5s-47274",
"type": "addition",
"userID": 499,
"expiryDate": {},
"archived": false,
"customerProfileID": "URNGV8294NV",
"cardID": 241,
"name": "Add points on purchase",
"validityDuration": "30D",
"programID": 5,
"startDate": {}
}
]
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?