Final AirBnB Cancel Reservation API
Endpoint
POST

https://connect-sandbox.su-api.com/SUAPI/jservice/CancelReservationAB
Attributes
hotelid
string (Required)
Unique identifier for the hotel.
request_for
string (Required)
Reason for the request.
channel_bookingid
string (Required)
Unique identifier assigned to a specific booking made through a particular distribution channel.
cancel_reason
string (Required)
Reason for the booking cacellation.
message_to_guest
string (Optional)
Message to the guest on booking cancellation.
message_to_airbnb
string (Required)
Message to AirBnB on booking cancellation.
Sample Request
{
"hotelid": "AWSTEST",
"request_for": "cancel_update",
"channel_bookingid": "HMY5BWBYH5",
"cancel_reason": "123~~~132",
"message_to_guest": "Test message to guest",
"message_to_airbnb": "Test message to airbnb"
}
Response
Sample Success Response
{
"status": "Success",
"data": {
"status": "cancelled_by_host",
"message": "We have requested to Airbnb to cancelled the booking"
}
}
Error
Error: Fail
{
"Status": "Fail",
"Errors": [
{
"Code": "400",
"ShortText": "Invalid HotelCode (AWSTEST)"
}
]
}
Error: Fail
{
"status": "Fail",
"data": {
"status": "error",
"message": "Reservation is not active and hence cannot be cancelled"
}
}
Last updated
Was this helpful?