Check the Hotel Release Notes for updates across all Hotel APIs.

Modify Hotel Reservation API Reference

Put

book/reservations/{LocatorCode}

For {LocatorCode} send the locator code of the reservation to retrieve.

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/

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

Use Modify Hotel Reservation to modify specific data on an existing booking made with the JSON Hotel APIs. Modify Hotel supports changes to the following data:

  • Dates of reservation, if allowed by supplier; note that a change in price may occur

  • Form of payment details

  • Specific details of the traveler associated with a booking as follows:

    • Changing the given name and/or surname to that of another traveler currently on the reservation; other name changes are not supported

    • Telephone number

    • Email address

  • Adding new comments

Booking.com does not support modify capabilities.
When changing dates for a reservation sold through Travelport, best practice is to first send an availability request for the new dates and look for the same booking code that is on the existing reservation. An availability request is not mandatory, but the Modify request will fail if the new dates are not available.

Request

Query Parameters

None.

Request Body

Response

The Modify Hotel Reservation response is the same as the Create Reservation response, returning all booking details including the updates as well as booking details that were not updated. See the Create Reservation API Reference for details.

Example Request

The following example request modifies the form of payment and adds a comment.

Example Response

The Modify Hotel Reservation response is the same as the Create Reservation response, returning all booking details including the updates.

Error Messages

Error messages for Hotel Modify Existing API.