Plugins
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
Overview
Plugins Overview. What they are, when they get executed and how to execute them.
Blacklist
Hotel codes Blacklist: filter out specific hotels from the Search query
Mapping
Map different codes from different Sellers in order to get a de-duped response.
Add Parameter
Allows Add Parameter to the access created for a supplier
Aggregation
Aggregate different Suppliers response based on different criteria.
Booking Persistence
This plugin allows to store and avoid duplicated bookings
Commission
Convert Gross Prices into Net Prices.
Market Group
Groups the Search result by markets that share the same product
Preference
To give preference to the options that match the preference rules.
Safety Margin
Discards those options that have a commission higher than expected.
Vcc Gen
Creates a virtual credit card at Book step
Currency Converter
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