What is the cancellation mutation?

The Cancellation Mutation is a method you need to use in order to Cancel an existing Booking  made via TravelgateX. In order to perform this Cancellation, you can follow our API Documentation as you did with the rest of the methods.

Once you perform the Cancel Mutation, you are expected to be returned a summary of the Booking, the price of the cancellation and the status of the cancellation.

Possible Cancellation Status

  • OK
    The reservation was completed with no problems.
  • ON_REQUEST
    The reservation was completed but the product is still not available, so the reservation goes into a waiting list. It is the BUYER's responsibility to check the status with the Seller directly
  • CANCELLED
    The status of the booking is cancelled.
  • UNKNOWN
    The reservation process through TGX was completed but due to a Seller error or timeout, the reservation status is unknown. It is the BUYER's responsibility to check the status with the Seller directly
  • PENDING_COMMIT
    The payment has been confirmed in Seller's side, but is necessary make a commit in order to confirm the reservation.