1. Help Center
  2. Buying on TravelgateX
  3. Hotel-X Development/Booking Flow: Search

How can I filter my Search requests?

You can filter your Search requests according to the following criteria:

1. Access

You will find more information in the following articles:

2. Plugin

You will find more information on TravelgateX plugins here.

3. RateRules

Below you will find where it's specified on our API Documentation in order to implement it.

In resume, the allowed filters are the following ones:

  • NORMAL
  • PACKAGE
  • OLDER55
  • OLDER60
  • OLDER65
  • CANARY_RESIDENT
  • BALEARIC_RESIDENT
  • LARGE_FAMILY
  • HONEYMOON
  • PUBLIC_SERVANT
  • UNEMPLOYED
  • NON_REFUNDABLE
  • MOBILE
  • WARRANTY
  • ESSENTIAL_WORKER

4. Status

You can define which status (OK or RQ) is to be included or excluded in your Search response by adding the "status" field under the "filterSearch" node - Note that the functionality of the "status" filter will depend on whether the Seller informs about it in their response: