Webhooks

For Orders, Feedback, Queries and Stock Alerts, Webhooks should be setup in order to receive notifications on discord channels.

Webhooks are essentially a way for applications to talk to each other automatically. They work like virtual "post offices" that deliver messages (data) from one system to another in real-time, allowing them to stay updated and synchronized without the need for constant manual checking.

Now let's add webhooks for each one of the features:

  1. Go to https://dash.billgang.com/developers/webhooks and Click New Endpoint button in the top-right corner

  2. Add the following uri in the webhook uri field

https://public.quarky-bot.xyz/webhooks/billgang

3. In the events fields choose the following Order Events

  • order:created

  • order:expired

  • order:cancelled

  • order:completed

  1. Then choose the following event for reviews

  • review:created

  1. For stock and tickets choose the following events

  • warehouse:low:stock

  • warehouse:out:of:stock

  • ticket:created

  • ticket:message:received

Finally, click on Create Webhook Endpoint to create the webhook.

Ensure webhooks are set as shown in the image below

Last updated

Was this helpful?