Inventory Webhooks: Difference between revisions

Jump to navigation Jump to search
No edit summary
Lesley (talk | contribs)
No edit summary
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:API]]
[[Category:Webhooks]]
[[Category:Apps_Plugins_and_Extentions]]
<div class="heading">Inventory Webhooks</div>
[[Category:Developers]]
[[Category:API]]
''This page is about the menu SETTINGS->APPS & INTEGRATIONS->ARRIVALS


  This page is about the menu SETTINGS->APPS & INTEGRATIONS->WEBHOOKS
  This page is about the menu {{#fas:cog}} (SETTINGS) MARKETPLACE > WEBHOOKS




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


Typical JSON data posted by the web hook request.
 
{"roomId":"123456","propId":"12345","ownerId":"1234","action":"SYNC_ROOM"}
Typical JSON data posted by the web hook request:
 
<code>{"roomId":"123456","propId":"12345","ownerId":"1234","action":"SYNC_ROOM"}</code>
 
 
You can add your own data in the "Custom Header" field if required including using template variables. The data will be sent as HTTP headers to the remote server with the webhook.
 
 
<div class="warning">{{#fas:exclamation-triangle}} You can NOT use [https://wiki.beds24.com/index.php?title=Template_Variables Template variables] here as this webhook operates on a room level. [https://wiki.beds24.com/index.php?title=Template_Variables Template variables] are only available in the context of a booking.</div>