What status can be returned in Hotel-X Cancel response?

Understanding the Meaning of Status in Cancel Response

What does the status in a cancellation response indicate?💡

Once a Cancel (Cancellation) method is run, our API response will provide its Cancel status. This status represents the current status of the cancellation and can be categorized into four possible values: CANCELLED, OK, ON_REQUEST and UNKNOWN.

What are the different values that can be assigned to the Cancel status?🔎

  1. CANCELLED: The status of the booking is cancelled.
  2. OK: The reservation status is OK.
  3. ON_REQUEST: The reservation was completed but the product is still not available by the Seller, so the reservation goes into a waiting list. It is the Buyer’s responsibility to check if the booking is OK.
  4. UNKNOWN: The cancellation process through TravelgateX was completed but due to a supplier error or a timeout, the reservation status is unknown. It is the Buyer’s responsibility to check if the booking is cancelled.

What should I do if I receive an error in Cancel response?⚠️

If you receive any of the common errors or a status other than "CANCELLED", it will be your responsibility as a Buyer to check the final status of the cancellation in the Seller's system.