Flavours API Documentation
  1. Loyalty
Flavours API Documentation
  • Readme
  • Developer Guide
  • Authorization
  • Includables
  • Pagination
  • Sorting
  • Retrieve Market Information
  • Retrieve Branch Information
  • Me
    • Overview
    • Detail
      GET
  • Branches
    • Overview
    • List
      GET
    • Detail
      GET
    • Create
      POST
    • Update
      POST
    • Delete
      DELETE
  • Orders
    • Overview
    • List
    • Detail
    • Create
    • Calculate
    • Checkout
    • Update
    • Sync
  • Customers
    • Overview
    • List
    • Detail
    • Create
    • Update
  • Products
    • Overview
    • List
    • Detail
    • Create
    • Update
    • Delete
  • Product Categories
    • Overview
    • List
    • Detail
  • Discounts
    • Overview
    • List
    • Detail
    • Verify
  • Payment Methods
    • Overview
    • List
    • Detail
  • Table
    • Overview
    • List
    • Detail
    • Create
    • Update
    • Delete
  • Printer
  • Webhook
    • Orders Webhooks
      • Webhook Events
      • Payload
    • Product Webhooks
      • Webhook Events
      • Payload
    • Loyalty Webhooks
      • Promotional Coupon
    • Customers Webhooks
      • Webhook Events
      • Payload
    • Error Webhook
      • Stay Alert to Connectivity Issues
    • Third-Party
      • Ballurh
        • Install Ballurh
      • Loyapro
        • Loyalty
          • Check Reward
            POST
          • Redeem Reward
            POST
      • Bonat
        • Check Reward
        • Redeem Reward
      • Fai
        • Register Entity
  1. Loyalty

Redeem Reward

Developing
DEVELOPMENT
https://api.flavours.sa/dev/api/v2
DEVELOPMENT
https://api.flavours.sa/dev/api/v2
POST
https://api.flavours.sa/dev/api/v2
/sync/loyapro/check_reward
This webhook is triggered when the user redeem a Promotional Coupon from the Flavours App.

Request

Authorization
Add parameter in header
api-token
Example:
api-token: ********************
Body Params application/json
reward_code
string 
required
business_refrence
string 
required
branch_id
string 
required
date
string 
required
timestamp
string 
required
Example
{
  "reward_code": "12345",
  "business_refrence": "dev",
  "branch_id": "de1a6526-34de-4d1f-87e3-831e1af19853",
  "date": "yyyy-MM-dd HH:mm:ss",
  "timestamp": ""
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flavours.sa/dev/api/v2/sync/loyapro/check_reward' \
--header 'Content-Type: application/json' \
--header 'api-token;' \
--data-raw '{
    "reward_code": "12345",
    "business_refrence": "dev",
    "branch_id": "de1a6526-34de-4d1f-87e3-831e1af19853",
    "date": "yyyy-MM-dd HH:mm:ss",
    "timestamp": ""
}'

Responses

🟢200OK
application/json
Body
object {0}
Example
{}
Previous
Check Reward
Next
Check Reward
Built with