Documentation

Booking Cancellation Transfers logo icon

BookingCancellation is a DELETE method operation that can be used in two different cases:

  • To simulate a booking cancellation
  • To cancel the booking

NOTE: Cancellations always take into account day and time of the destination in order to calculate what cancellation policy should be apply.

Booking Cancellation Request

DELETE https://api.test.hotelbeds.com/transfer-api/1.0/bookings/{{language}} / {{booking_reference}}
DELETE https://api.test.hotelbeds.com/transfer-api/1.0/bookings/{{language}} / {{booking_reference}}?simulation={{true/false}}

Request parameters

Parameter Type Mandatory Description
language String Y Response language
reference String Y

Locator of the booking to be cancelled.

simulation Boolean N

Defines if the operation will be a simulation or an actual cancellation.

Request examples:

Cancel:
DELETE https://api.test.hotelbeds.com/transfer-api/1.0/bookings/en/1-4135098
or
DELETE https://api.test.hotelbeds.com/transfer-api/1.0/bookings/en/1-4135098?simulation=false

Cancel SIMULATION:
DELETE https://api.test.hotelbeds.com/transfer-api/1.0/bookings/en/1-4135098?simulation=true

The Cancellation response will be the same structure as the booking detail response