πFreedelity
Sections
APIs
[POST] Reward (https://docs.freedelity.be/api/POST_historyreward.html)
// POST /api/fidel/historyreward/storeid[0-9]/userid[0-9]
{
"url": "https://api.freedelity.be/api/fidel/historyreward/{{draw.source_id}}/{{draw.user_uid}}",
"api_key": "**********",
"method": "post",
"headers": { "Content-Type": "application/json" },
"datas": {
"remarks": "reward.name" // "InternalRewardName"
}
}[POST] Voucher (https://docs.freedelity.be/api/POST_voucher.html)
[POST] User (https://docs.freedelity.be/api/POST_customernoeid.html)
Make sure to use a static store_id instead of {{draw.source_id}} in case you don't have the info in your pokes!
Last updated