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

Hotel-X Development - Quote Query

All about Hotel-X Quote Query

Quote is an operation used to assess and valuate the rate before the actual booking. It returns the same information as the Search response for a hotel rate with up-to-date price, along with additional information regarding the rate: rate breakdown and cancellation policies.

Note that the information returned may vary between Sellers. E.g. some Sellers may return cancel policies only in Search whereas others only in Quote or in both Search and Quote. You can check our Metadata Query for further information.

 

Some of the fields that can be added to our Quote query are:

  • Status
  • Price
  • Cancel Policy
  • Rooms
  • Surcharges

Below you will find a Quote example:

{"query":"# Example Quote - quote token\nquery ($criteriaQuote: HotelCriteriaQuoteInput!, $settings: HotelSettingsInput) {\n hotelX {\n quote(criteria: $criteriaQuote, settings: $settings) {\n auditData{\n\t\t\t\ttransactions{\n\t\t\t\t\trequest\n\t\t\t\t\tresponse\n\t\t\t\t}\n\t\t\t\ttimeStamp\n\t\t\t}\n\t\t\toptionQuote {\n optionRefId\n status\n price {\n currency\n binding\n net\n gross\n exchange {\n currency\n rate\n }\n markups {\n channel\n currency\n binding\n net\n gross\n exchange {\n currency\n rate\n }\n }\n }\n surcharges {\n chargeType\n price {\n currency\n binding\n net\n gross\n exchange {\n currency\n rate\n }\n markups {\n channel\n currency\n binding\n net\n gross\n exchange {\n currency\n rate\n }\n }\n }\n description\n }\n cancelPolicy {\n refundable\n cancelPenalties {\n hoursBefore\n penaltyType\n currency\n value\n }\n }\n cardTypes\n remarks\n }\n errors {\n code\n type\n description\n }\n warnings {\n code\n type\n description\n }\n }\n }\n}\n","variables":{"criteriaQuote":{"optionRefId":""},"settings":{"client":"","context":"","testMode":true,"auditTransactions":true}}}

 

Do options get blocked when running a Hotel-X Quote Query?

Some Sellers may block the options when performing a Quote query so we strongly recommend to contact them directly regarding this topic in order to prevent future issues.

 

Are there any limitations on the number of Hotel-X Quote requests I can perform per minute?

Not from TravelgateX side - we don't have any limitations on the RPM in any of our methods. However, some Sellers may have some limitations so we suggest you contact directly with them in order to discuss this information.

 

Learn more about our Hotel-X Quote Query on our Documentation and Playground