Inventory Webhooks: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:




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>