Hotel

Validate rebooking for price optimization

Changed on

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

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

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"
}

Changes

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////

    • info

      added the new optional request property //////

    • info

      added the new optional request property /////////

    • info

      added the new optional request property /////////

    • info

      added the new optional request property /////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property //////

    • info

      added the new optional request property //////

    • info

      added the new SIXT enum value to the request property ////////

    • info

      added the new SIXT enum value to the request property /////////

    • info

      added the new SIXT enum value to the request property ////////

    • info

      added the new SIXT enum value to the request property //////