Plugins are the secret sauce of the HotelX API. Think of plugins as features that will introduce at a request level all the business logic you normally would have had to implement on your side. These plugins can be used to fully customize the request and response in any way you wish, and can be added as your business grows and evolves. No need to aggregate responses now that you only have a few suppliers live? No problem. With Hotel-X, it’s easy to add this feature once your business needs it.
HotelX Plugins are a separate Go application that get compiled into the main application and run natively in our servers. Plugins are specified at the request level, or be configured by default.
Below is the list of
Plugins TravelgateX has already developed. Got a suggestion? Head to our TGX Community
Plugins Overview. What they are, when they get executed and how to execute them.
Hotel codes Blacklist: filter out specific hotels from the Search query
Map different codes from different Sellers in order to get a de-duped response.
Allows Add Parameter to the access created for a supplier
Aggregate different Suppliers response based on different criteria.
This plugin allows to store and avoid duplicated bookings
Convert Gross Prices into Net Prices.
Groups the Search result by markets that share the same product
To give preference to the options that match the preference rules.
Discards those options that have a commission higher than expected.
Creates a virtual credit card at Book step
Convert currency in order to have a unified response.
Search by destination
Enables search query to request per destinations by converting destination codes to hotel codes