Check Reward
DevelopingGET
/api/v2/app/rewardThis webhook is triggered when the user inputs a Promotional Coupon from the Flavours App.
You are able to customize a button with the success callback, the URL within the button will act as a GET request with all the parameters.
Request
Body Params application/json
reward_code
string
required
app
string
required
bonat || loyapro
Example
{
"reward_code": "12345",
"app": "bonat"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
If the reward is a discount on the order and is a percentage
{
"type": 1,
"discount_amount": 10,
"is_percent": true,
"customer_mobile_number": "548548545",
"mobile_country_code": "SA",
"reward_code": "24564955",
"business_reference": "255214",
"max_discount_amount": 25,
"discount_includes_modifiers": false,
"allowed_products": null
}
Last modified: 3 months ago