curl --request GET \
--url https://api.yorlet.com/v1/loyalty/program_events \
--header 'Authorization: <api-key>'{
"count": 1,
"has_more": false,
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "loyalty.program_event",
"expires_at": 123,
"loyalty_program": "<string>",
"loyalty_program_override": {
"points": 123
},
"recipient": {
"type": "customer",
"customer": "<string>"
},
"statement_descriptor": "<string>",
"status": "expired",
"value": 123,
"account": "<string>",
"deleted": false,
"earn_rate": {
"spend_amount": 123
}
}
]
}List all loyalty program events
curl --request GET \
--url https://api.yorlet.com/v1/loyalty/program_events \
--header 'Authorization: <api-key>'{
"count": 1,
"has_more": false,
"object": "list",
"data": [
{
"id": "<string>",
"created": 123,
"object": "loyalty.program_event",
"expires_at": 123,
"loyalty_program": "<string>",
"loyalty_program_override": {
"points": 123
},
"recipient": {
"type": "customer",
"customer": "<string>"
},
"statement_descriptor": "<string>",
"status": "expired",
"value": 123,
"account": "<string>",
"deleted": false,
"earn_rate": {
"spend_amount": 123
}
}
]
}API Key authentication. Use "Bearer YOUR_API_KEY".
Was this page helpful?