v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Callbacks

NotifyBooking

Endpoint: https://api.myallocator.com/callback/ota/{ota}/v202203 (replace {ota} with your channel ID)

With this API call the OTA can notify Cloudbeds to immediately request a GetBookingList call based on the ota_property_id/ota_property_sub_id and the passed booking_id. This should be send on any new booking OR any changes such as cancellations to an existing booking.

If the BookingCreate API call has been implemented then NotifyBooking is not required.

Note: at this time we're not only sending a GetBookingId call with the booking_id given in this API call. Cloudbeds instead calls GetBookingList as usual. However, in the future Cloudbeds might specifically request the booking provided with NotifyBooking.

post/NotifyBooking

Request body

ota_property_idstring

Username, login or property ID on the OTA

ota_property_sub_idstring

Property ID on the OTA, if OTA supports multiple properties under one ota_property_id/ota_property_password combination. See GetSubProperties for more details.

booking_idstring

OTA booking ID of the booking to be retrieved.

shared_secretstring required

Authentication between the OTA and the channel. Identical for all requests. Not to be shared with customers.

Response

NotifyBooking

OR