v1

latestOpenAPI 3.1.02026-08-0610344237.7 KB
Hotel

Validate rebooking for price optimization

Validates if a hotel rebooking can be performed for price optimization purpose. The Source PNR ID provided in the request will be checked if it's eligible for rebooking. In the response, if isValid is true then users can proceed to checkout flow, which cancels the existing Source PNR and creates a new PNR to save booking cost.

post/v2/hotel/validate-rebooking

Request body

cancelSourcePnrIdstring required

Source PNR ID that needs to be validated.

Response

OK

isValidboolean required

Indicates if the validation is successful.

spotnanaPnrIdstring required

The Spotnana PNR ID of the corresponding source PNR ID provided in the request.

Example response

{
  "isValid": true,
  "spotnanaPnrId": "1cf76aba18e4015f"
}