Category:Webhooks: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Sorenjensen (talk | contribs) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:API_V2]] | |||
[[Category:Developers]] | |||
<div class="heading">Webhooks</div> | <div class="heading">Webhooks</div> | ||
| Line 6: | Line 8: | ||
Webhooks are small messages sent from our server to yours, they can be used to trigger an action on your server in a timely manner, for example to retrieve a new booking via API. | Webhooks are small messages sent from our server to yours, they can be used to trigger an action on your server in a timely manner, for example to retrieve a new booking via API. | ||
= Booking Webhook = | = Version 1 Booking Webhook = | ||
V1 booking webhooks use the GET method | |||
Triggered on a new or modification to an existing booking. | Triggered on a new or modification to an existing booking. | ||
| Line 28: | Line 33: | ||
== Version 2 Booking Webhook == | == Version 2 Booking Webhook == | ||
V2 booking webhooks use the POST method | |||
Booking webhooks can contain the booking data as a JSON object in their body. | Booking webhooks can contain the booking data as a JSON object in their body. | ||
| Line 33: | Line 40: | ||
Technical documentation can be found here https://api.beds24.com/v2/#/Webhooks/postWebhooks___bookings | Technical documentation can be found here https://api.beds24.com/v2/#/Webhooks/postWebhooks___bookings | ||
= Auto Action Webhook = | = Auto Action Webhook = | ||
| Line 44: | Line 49: | ||
Triggered when room inventory or price changes. | Triggered when room inventory or price changes. | ||
Setup: {{#fas:cog}} (SETTINGS) | Setup: {{#fas:cog}} (SETTINGS) MARKETPLACE > WEBHOOKS | ||
More information can be found here [https://wiki.beds24.com/index.php/Inventory_Webhooks Inventory Webhooks] | More information can be found here [https://wiki.beds24.com/index.php/Inventory_Webhooks Inventory Webhooks] | ||