Last updated

How to setup Webhook at DealPOS

Go to Developer > Tab Menu URL

webhook url

you can use Multiple EndPoint URL in webhook event of product, customer invoice, contact, supplier bill, outlet delivery, adjustment, configuration.


Retry Policy & Error Handling

When delivery of a WebHook Notification fails, DealPOS may attempt to retry the request at a later time.

Error Handling

Retry Delivery of a WebHook after cooldown duration.

RetryCooldown
1 attempt

This already set as default of retry delivery of 1 attempt
7 seconds

This already set as default to repeat sent data after 7 seconds
  • Retry: Maximum repetition of data transmission if it fails to send
  • Cooldown: Set the timeout for repeating data transmission if it fails to send

External Loyalty App

If you want to integrate your Loyalty Point App with DealPOS, you can set your endpoint URL in our Event Webhook Configuration.

Events that we handled are Fetch Member Point, Order Complete and Validate Coupon

  1. Fetch Member Point use for get point from your Loyalty App
  2. Order Complete use for get reward from the transaction created in POS
  3. Validate Coupon use for validate coupon in your Loyalty app is exist or not

You can set in Menu Setup -> More Menu -> Webhook Configuration -> External Loyalty App image.png


Webhook Logs

There is 3 modes for record webhook log:

  1. Full = record all log for both success log and error log (for development purpose)
  2. Error = Only record log when something is wrong
  3. None = Nothing is recorded

You can set the mode through the Webhook Configuration settings by visiting the Setup Menu > Choose More Menu > Webhook Configuration and set the log option

image.png

image.png

You can also check status of your webhook, if there is success or error.

Go to SETUP > More Menu > Choose Webhook Logs

image.png

1576744091820.png


Test Webhook

if you don’t have website, you can use this free website https://requestcatcher.com/ to record the result from webhook that you get

1. Fill with your brand that you want

1590736522514.png

2. You got the generate link

1590736843812.png

3. Copy the generate link to object webhook configuration in your DealPOS's account. See the example webhook Create Invoice below:

1591678899147.png

4. The result will be display

1590737317506.png