Last updated

Rebooking an existing hotel PNR for price optimization

Hotel prices tend to change often based on demand and various other factors such as competitor pricing, market conditions, festival/holiday seasons, and so on. Some hotels provide the option to rebook their existing PNR if the original price of the hotel has changed.

For example, a traveler may consider rebooking an existing PNR after noticing a drop in price for the room they already booked. Some hotels provide the option to rebook a PNR (so that travelers can get better prices for their stay).

Note: The rebooking workflow will cancel the existing booking and create a new PNR with the same hotel preferences as the canceled one.

The steps below explain how to rebook an existing PNR for price optimization.

StepNameEndpointDetails
1.Validate rebooking for price optimization/v2/hotel/validate-rebookingValidate a PNR to check if it's valid for rebooking.

Request body requires: Traveler details, tripId, and cancelSourcePnrId (also referred to as externalPnrId in step 4 of creating a hotel booking workflow and step 3 of modifying a hotel booking workflow).
2.Verify hotel price/v2/hotel/price-checkVerify the hotel room price.

Request body requires: priceValidateKey from step 2 of creating a hotel booking workflow. If the booking has been modified earlier, then use the priceValidateKey from step 1 of the modifying a hotel booking workflow.

Response will contain: bookingKey

Other APIs will use: bookingKey
3.Create a hotel booking/v2/hotel/create-pnrCreate a new PNR and cancel the existing one.

Request body requires: bookingKey from step 2, and other parameters such as traveler details, occupancy information, payment information, and custom field questions. The cancelSourcePnrId field should be populated with the value of the externalPnrId retrieved from step 4 of the create a hotel booking workflow.

Response will contain: The new pnrId, pnrStatus, and externalPnrId to hold the new source PNR ID.