...
Steps | Expected results (Kiosk) | Expected results (RBI app) | Loyalty API usage (Kiosk) |
---|---|---|---|
Guest taps on the Kiosk screen to start a new order |
|
|
|
Guest inputs a valid promo code in Kiosk screen (e.g. A00001) |
|
|
|
Guest customizes the offer at will and adds to basket |
|
| |
Guest goes to a second Kiosk and enters the same promo code (e.g. A00001) |
|
|
|
Guest goes back to the first Kiosk, checks out and pays |
|
|
|
Validate Coupon Endpoint
Use Case: The following endpoint allows a promo code to be validated/redeemed by the RBI Loyalty platform.
Endpoint URL: https://{reg}-{env}-{brand}-loyalty-middleware.rbictg.com/loyalty/coupon/validate
Expected Request Payload (assigning points):
code
: StringThe code to be validated/redeemed by the loyalty platform.
loyaltyId
: StringOptional. The loyaltyId of the user. If not present, the validation will occur to an anonymous user.
shouldRedeem
: BooleanOptional. Indicates whether the code should be validated and redeemed.
true
(default): the code will be validated and redeemed.false
: the code will be validated only.
Expected Request Payload:
Code Block |
---|
{
"code": "ABCDE123",
"loyaltyId": "6d13456a-1304-5109-a117-af4de20b2487",
"shouldRedeem": true
} |
Expected Response Payload:
...