Menu
Get Dashboard Statistics
Get statistics for loyalty dashboard
GET
/v1/loyalty_programs/{loyaltyProgramId}/dashboardUse it in a workflow
- Add a step and choose the Talon.One connector.
- Pick the Get Dashboard Statistics action (under management).
- Fill in the fields below, then reference the result from later steps as
{{getDashboardStatistics.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDashboardStatistics.response.data.<field>}}.
{
"totalResultSize": 1,
"data": [
{
"date": {},
"totalMembers": 2582,
"totalSpentPoints": 25668,
"spentPoints": {
"createdManually": 125,
"createdViaRuleEngine": 9631
},
"totalActivePoints": 9756,
"totalPendingPoints": 548,
"totalExpiredPoints": 1156,
"totalNegativePoints": 32,
"newMembers": 3,
"earnedPoints": {
"createdManually": 125,
"createdViaRuleEngine": 9631
}
}
]
}
Need more? See the Talon.One guide for connection setup and behaviour shared by every action.
Was this page helpful?