...
Assigning 100 points to the useruser’s balance:
Code Block |
---|
{ "id": "45601bf3-6d2a-4318-8842-affc38f563ba", "shortId": "EZMHC05S5AYMO2G9", "loyaltyId": "6d13456a-1304-5109-a117-af4de20b2487", "channel": "CAMPAIGN", "status": "CLAIMED", "createdAt": "2024-02-28T02:14:05.453Z", "impactedExpirationBuckets": [ { "expirationDate": "2024-06-28", "points": 100 } ], "claimedAt": "2024-02-28T02:14:05.453Z", "pointsEarned": 100, "bonusPointsEarned": 0, "pointsUsed": 0, "transactionDetails": { "fulfillment": { "autoRelease": true, "type": "POINT_ASSIGNMENT" }, "orders": [], "payments": [] }, "metadata": { "partner": "Partner", "reference": "Gamification Campaign Prize #3" }, "pointsDeducted": 0 } |
...
Deducting 100 points from the useruser’s balance:
Code Block |
---|
{
"id": "1ae098e0-dc41-42cc-a4ea-b75b44148381",
"shortId": "GM2CKQ2QRUAPP90K",
"loyaltyId": "6d13456a-1304-5109-a117-af4de20b2487",
"channel": "CAMPAIGN",
"status": "CLAIMED",
"createdAt": "2024-02-28T02:15:27.784Z",
"impactedExpirationBuckets": [
{
"expirationDate": "2024-06-28",
"points": -100
}
],
"claimedAt": "2024-02-28T02:15:27.784Z",
"pointsEarned": 0,
"bonusPointsEarned": 0,
"pointsUsed": 0,
"transactionDetails": {
"fulfillment": {
"autoRelease": true,
"type": "POINT_ASSIGNMENT"
},
"orders": [],
"payments": []
},
"metadata": {
"partner": "Partner",
"reference": "Reason why points were deducted"
},
"pointsDeducted": 100
} |
Error responses
Info |
---|
All error responses use the standard Error Responses format. |
...