Difference between revisions of "Inventory Webhooks"

From Beds24 Wiki
Jump to navigation Jump to search
(Created page with "== Web Hooks == Send a web hook to your service whenever a room type needs syncing. Web hooks are triggered by new bookings, modification to booked dates, cancellations, an...")
 
Line 2: Line 2:
  
 
Send a web hook to your service whenever a room type needs syncing.
 
Send a web hook to your service whenever a room type needs syncing.
 +
 +
Enter the public facing URL to recieve the request.
  
 
Web hooks are triggered by new bookings, modification to booked dates, cancellations, an inventory change or a price change on a room type.
 
Web hooks are triggered by new bookings, modification to booked dates, cancellations, an inventory change or a price change on a room type.
Line 13: Line 15:
  
 
The web hook request expects an http 200 response code, if it does not see this it will be retried a number of times over the next 30 minutes.
 
The web hook request expects an http 200 response code, if it does not see this it will be retried a number of times over the next 30 minutes.
 +
 +
Optional headers can be specified for authentication or other purposes if required.

Revision as of 17:25, 13 October 2019

Web Hooks

Send a web hook to your service whenever a room type needs syncing.

Enter the public facing URL to recieve the request.

Web hooks are triggered by new bookings, modification to booked dates, cancellations, an inventory change or a price change on a room type.

Changes to restrictions like minimum stay do not trigger a web hook.


The web hook request payload contains json data in the body with the roomid which triggered the request.

This can be used to keep external services synchronised with minimum delay whenever changes occur.

The web hook request expects an http 200 response code, if it does not see this it will be retried a number of times over the next 30 minutes.

Optional headers can be specified for authentication or other purposes if required.