All about Hotel-X Cancel Mutation
You can use Hotel-X Cancel Mutation to easily cancel a booking made through TravelgateX.
How can I cancel a booking?π‘
- Using its booking reference.
- Using its bookingID.
Don't forget to check our article on Book Mutation for further details on the information returned in Book responseπ
What information can I expect in Cancel response?βοΈ
The information returned in Cancel response may vary between Sellers, so please check our Hotel-X API Schema in order to add to your Cancel the fields expected on your side. Additionally, you may check the Sellers' Metadata for further details on the specifications established on their side for this Method.
- Booking status: more information on status in cancel response here.
- Reference
- Price
- Holder
Remember to check the Sellers' Metadata for further details on their specifications and information returned on their side in Cancel response.π
How are cancellation costs calculated and displayed?π’
Depending on the specifications provided by a Seller, cancellation costs can be calculated using three different penalty types. It is important to keep in mind that a booking may have more than one penalty type associated with it.
- NIGHTS: It indicates the number of nights to be penalized.
- PERCENT: It indicates the percentage to pay based on the option price (possible values between 0 and 100).
- IMPORT: It Indicates the exact amount payable.
Can I apply any filters to my Hotel-X Cancel Mutation?π‘
Unfortunately, there are no filters in the Cancel Mutation.
Is it possible to retrieve the cancellation costs without canceling the option?π
Don't forget to check our Hotel-X API Schema and Documentation for further information on Cancel Mutation. Interested in cancel penalties information as well? We've got you covered with some awesome articles that dive deep into the topic!π