Flavours API Documentation
  1. Loyalty Webhooks
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
      GET
    • Detail
      GET
    • Create
      POST
    • Calculate
      POST
    • Checkout
      POST
    • Update
      POST
    • Sync
      POST
  • 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
          • Redeem Reward
      • Bonat
        • Check Reward
        • Redeem Reward
      • Fai
        • Register Entity
  1. Loyalty Webhooks

Promotional Coupon

Streamline Promotional Coupon Handling with Webhooks#

Here's a comprehensive guide to effectively utilizing the promotional coupon webhook:

Trigger:#

A user enters a promotional coupon code within the Flavours app.

Notification:#

Flavours sends a POST request to your designated notification URL, containing the following request parameters:
reward_code: The unique code of the entered coupon.
business_reference: The identifier of the restaurant where the coupon was applied.

Integration Considerations:#

Process coupon data : Extract relevant information from the response to apply discounts, display messages, or guide user actions.
Handle button customization : Respect the provided button configuration for a seamless user experience.
Error handling : Implement robust mechanisms to gracefully manage invalid responses and communicate errors to the user.
Logging : Maintain detailed logs of webhook events for troubleshooting and auditing purposes.
By effectively leveraging this webhook, you'll create a dynamic and user-friendly experience for handling promotional coupons within your Flavours integration
Previous
Payload
Next
Webhook Events
Built with