getCustomerPointsLogs
Retrieve all of the points logs for a logged-in customer
RivoJS.getCustomerPointsLogs().then(function(resp){
console.log(resp)
});
Sample response
{
"success": true,
"points_logs": [
{
"id": 156,
"points_amount": 1000,
"points_diff": -1000,
"applied_at": "2023-01-30T23:16:11.394Z",
"external_note": "Redeemed a Reward"
},
{
"id": 155,
"points_amount": 1000,
"points_diff": -1000,
"applied_at": "2023-01-30T22:18:08.269Z",
"external_note": "Redeemed a Reward"
}
],
"metadata": {
"next_page": null,
"prev_page": null
}
}
Updated 25 days ago