Flavours API Documentation
    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
        GET
      • Detail
        GET
      • Create
        POST
      • Update
        POST
    • 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

    Authorization

    Every endpoints need to authorize with API_TOKEN at headers. API_TOKEN is unique for every client and have expired date depending on client request. You can ask administrator to generate API_TOKEN for you.
    📌
    Treat API_TOKEN the same way you would treat your passwords or other sensitive credentials. Don't share it using an unencrypted messaging or email system to unauthorized person. You are responsible for any data changed or loss through API_TOKEN request.
    For example if you want to get a detail of client information, you can try
    GET : /api/me
    Request Headers:
    {
      API_TOKEN: "YOUR-API-TOKEN-CODE"
    }
    Request Headers application/jsonRequired
    API_TOKEN stringyes
    Modified at 2025-03-25 07:13:02
    Previous
    Developer Guide
    Next
    Includables
    Built with