Read the following sections to understand the queries from the Hotel Trader GraphQL Pull API spec. You can view query and response samples in the GraphQL Query Samples section and review a full list of error codes.
Note: You can get more details on each query and mutation in the GraphQL Docs section.
Search
Query | Description |
---|---|
getPropertiesByIds | This operation allows you to search for property rates and availability based on the specified propertyIds. |
When you start your partnership with Hotel Trader, a list of PropertyIds , RegionIds, and mapping of the city and properties will be provided to you by Hotel Trader.
To know more about the Search queries and their type definitions, visit our Search page.
Quote
Query | Description |
---|---|
Quote | This operation allows you to confirm the price of a property and room type combination pre-booking |
Book
Query | Description |
---|---|
Book | This operation allows you to place a reservation request. |
Modify | This operation allows you to modify a previously confirmed reservation. |
Cancel | This operation allows you to cancel a previously confirmed reservation. |
GetReservation | This operation allows you to get the details of a reservation after a successful booking. |
GetReservations | This operation allows you to get a list of successful reservations within a specified date range. |