Inventory Webhooks: Difference between revisions

Jump to navigation Jump to search
No edit summary
Lesley (talk | contribs)
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:API]]
[[Category:Apps]]
[[Category:Developers]]
[[Category:Webhooks]]
[[Category:Webhooks]]
<div class="heading">Auto Action Webhooks</div>
<div class="heading">Inventory Webhooks</div>


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




Line 31: Line 28:




You can add data in the "Custom Header" field like this:
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.
 
<code> my_key1:my_value1</code>
 
<code>my_key2:my_value2</code>




<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>
<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>