Hotel API Endpoints
This topic provides a consolidated list of endpoints and associated methods for all Hotel APIs. For links to all topics see the Hotel API Reference List.
See Common Hotel API Headers for the header parameters that must be sent with all requests.
In this topic:
Authentication
Use these endpoints for authentication requests if you haven't received or haven't migrated to the new credentials from Travelport:
Pre-production https://oauth.pp.travelport.com/oauth/oauth20/token
Production https://oauth.travelport.com/oauth/oauth20/token
Use these endpoints for authentication requests after you have migrated to the new credentials from Travelport:
Pre-production https://auth.pp.travelport.net/oauth/token
Production https://auth.travelport.net/oauth/token
Base Path for All Hotel APIs
Combine the appropriate base path below with all Hotel API authorization endpoints in the next section.
Base path:
Use this base path if you have not yet received or not migrated to the new credentials from Travelport:
Pre-production https://api.pp.travelport.com/11/hotel/
Production https://api.travelport.com/11/hotel/
Use this base path after you have migrated to the new credentials from Travelport (using .net instead of .com):
Pre-production https://api.pp.travelport.net/11/hotel/
Production https://api.travelport.net/11/hotel/
For example, the complete post-migration endpoint for the Hotel Availability API in the production environment is
https://api.travelport.net/11/hotel/availability/catalogofferingshospitality
JSON Hotel API Endpoints
Request |
Endpoint (add to Base Path above) |
---|---|
Hotel Search by property ID |
POST search/properties |
Hotel Search by location |
POST search/properties/search |
Hotel Search pagination request |
GET search/properties/{{Identifier}}?pageNumber={{pageNumber}} |
Hotel Details |
GET search/propertiesdetail?chainCode={{XX}}&propertyCode={{123AB}} |
Hotel Availability |
POST availability/catalogofferingshospitality |
Hotel Availability pagination request |
POST availability/catalogofferingshospitality/{{Identifier}}?pageNumber={{pageNumber}} |
Hotel Rules by booking code |
POST rules/offershospitality/buildfromrequest |
Hotel Rules by offer ID |
POST rules/offershospitality/buildfromcatalogofferings |
Hotel Book (Create Reservation) |
POST book/reservations |
Create passive hotel reservation |
POST book/reservations/passive |
Modify existing hotel reservation |
PUT book/reservations/{{PNR}} |
Modify passive hotel reservation |
PUT book/reservations/{reservationIdentifier}/passiveupdate |
Cancel hotel reservation |
DEL book/reservations/{{PNR}}/offers/{{SupplierConfirmation}} |
Add reservation to existing itinerary |
PUT book/reservations/{{PNR}} |
Add passive hotel reservation |
PUT book/reservations/{reservationIdentifier}/passive |
Retrieve hotel reservation |
GET book/reservations/{{PNR}} |