Attention: Please check the Hotel Release Notes page for the latest updates and enhancements.

Add Hotel Reservation Full Payload API Reference

Put

book/reservations/{LocatorCode}

For {LocatorCode} send the locator code of the reservation to retrieve (returned in the workbench commit in Confirmation/Locator/value).

Base path:

Pre-production https://api.pp.travelport.com/11/hotel/

Production https://api.travelport.com/11/hotel/

Related Content: Hotel Guide, Hotel Workflow Diagram , Create Reservation Full Payload API Reference

Add a hotel reservation to an existing travel itinerary, or PNR, by sending a PUT request to the same endpoint used for booking. The full payload request sends full reservation information instead of an offer identifier from the Availability response as in the reference payload request.

You must first send Search and Availability requests for the hotel booking you want to add to the existing reservation, with an optional Details request between search and availability.

The Traveler object sent in a reservation request must not be sent in an add request.

 

Multi-room sell requests

Travelport will attempt to sell the number of rooms requested, but the supplier may not be able to accommodate the total number of rooms. Each room sold will create a unique hotel segment in the Travelport PNR.

A Traveler name will be associated with each room with these limitations:

  • If the number of rooms requested is equal to the number of Traveler names in the request, each room will be associated with a different Traveler name

  • If the number of rooms requested is not equal to the number of Traveler names in the request, each room will be associated to the first Traveler name.

Request

Query Parameters

Travelport has introduced an automatic check of the rate used in the reservation request. If the guarantee type or price has changed from what was received in the availability response, Travelport will return an error instructing the user to decide to accept this change. If the user wants to accept the change, the relevant query parameter indicator (one or both) listed should be added and the CREATE/ADD request sent a second time.

Parameter Description Required/Optional

acceptPriceChangeInd

Boolean: true indicates that the user accepts any difference in the total price received in availability versus what is the current price in the sell process; false denotes that the user does not accept a price difference and the sell process should not complete. Default is false.

Optional

acceptGuaranteeChangeInd

Boolean: true indicates that the user accepts any difference in the guarantee type (guarantee required, deposit required, prepay required) received in availability versus what is the current guarantee type in the sell process; false denotes that the user does not accept a guarantee type difference and the sell process should not complete. Default is false.

Optional

Request Body

Response

The response for the Hotel Add Reservation request is the same as for Create Reservation; see the Create Reservation API Reference.

Example Request

Example Response

Error Messages

None.