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 |
GET search/properties/{{Identifier}}?pageNumber={{pageNumber}} |
Hotel Details |
GET search/propertiesdetail?chainCode={{XX}}&propertyCode={{123AB}} |
Hotel Availability |
POST availability/catalogofferingshospitality |
Hotel Availability pagination |
POST availability/catalogofferingshospitality/{{Identifier}}?pageNumber={{pageNumber}} |
Hotel Rules full payload |
POST rules/offershospitality/buildfromrequest |
Hotel Rules reference payload |
POST rules/offershospitality/buildfromcatalogofferings |
Create Reservation full payload |
POST book/reservations |
Create Reservation reference payload |
POST book/reservations |
Modify existing hotel reservation |
PUT book/reservations/{{LocatorCode}} |
Cancel hotel reservation |
DEL book/reservations/{{LocatorCode}}/offers/{{SupplierConfirmation}} |
Add reservation to existing reservation (full and reference payload use the same endpoint) |
PUT book/reservations/{{LocatorCode}} |
Create passive hotel reservation |
POST book/reservations/passive |
Add passive hotel reservation to existing reservation |
PUT book/reservations/{reservationIdentifier}/passive |
Modify passive hotel reservation |
PUT book/reservations/{reservationIdentifier}/passiveupdate |
Retrieve hotel reservation |
GET book/reservations/{{PNR}} |
Sync hotel reservation |
POST book/reservations/ |