...
Code Block |
---|
{
"identifier": "example@domain.com" OR "123456",
"posVendor": {
"operator": "300", // operator id
"supportingPos": "POS vendor name (optional field)" // vendor to return plu for
"posType": "Kiosk vendor name",
"storeId": "9999",
"terminal": "0", // terminal id
"transactionId": "000000000257" // vendor transaction id
}
} |
Expected Response Payload when LD-EMAIL Flag is OFF:
Code Block |
---|
{ "balances": [ { "amount": 14464, "currency": "points" } ], "loyaltyUser": { "created": "2021-08-10T12:18:39.180Z", "id": "4711fc2a-3a8f-414f-a9e7-44dd5231dca7", "name": "Farhan" }, "order": [ { "productId": "Reward PLU", "incentiveId": "Sanity ID of Reward" "quantity": 1, "price": 0, "productType": "reward", "referenceId": "00", // unique line id }, { "productId": "Offer PLU", "incentiveId": "Sanity ID of Offer" "quantity": 1, "productType": "offer", "referenceId": "00", // unique line id }, ], "transactionId": "f4190848-169d-4c69-9f53-f916318c432b" // uuid of the loyalty order/transaction } |
Expected Response Payload when LD-EMAIL Flag is ON:
Code Block |
---|
{
"balances": [
{
"amount": 14464,
"currency": "points"
}
],
"loyaltyUser": {
"created": "2021-08-10T12:18:39.180Z",
"id": "4711fc2a-3a8f-414f-a9e7-44dd5231dca7",
"name": "Farhan",
"email": "example@domain.com"
},
"order": [
{
"productId": "Reward PLU",
"incentiveId": "Sanity ID of Reward"
"quantity": 1,
"price": 0,
"productType": "reward",
"referenceId": "00", // unique line id
},
{
"productId": "Offer PLU",
"incentiveId": "Sanity ID of Offer"
"quantity": 1,
"productType": "offer",
"referenceId": "00", // unique line id
},
],
"transactionId": "f4190848-169d-4c69-9f53-f916318c432b" // uuid of the loyalty order/transaction
} |
Transaction Validation (POST)
...