Skip to main content

Preheld Inventory

Preheld Inventory

A confirmed reservation that is being modified and requires a new availability check should include the CRS confirmation number so the consumed inventory will be included in the shopping process.

Example: When increasing the length of stay or adding an extra room, the system considers the consumed inventory to prevent failures due to no available inventory. By adding the CRS confirmation number to identify the reservation in the request, the system includes existing inventory from the reservation is and adds to it the remaining restrictions.

While processing a preheld reservation, the system also checks for each resulting product to determine whether the preheld reservation cancel policy is compatible (meaning it is equally or less restrictive) with the product. When they are not compatible, a failure is added to the list of failures to prevent guests from modifying the reservation to a more flexible product and then canceling to get out of a cancellation penalty.

ParameterDescriptionType
crsConfirmationNumberCRS confirmation number associated with a preheld reservationString

Sample Request

/v1/api/hotel/availability?hotelId=13098&chainId=12723&adults=2&startDate=2022-12-17&endDate=2022-12-20&numRooms=1&primaryChannel=WEB&secondaryChannel=WEB&crsConfirmationNumber=CIAOEUE

 

Warning Response

A warning is returned if the CRS confirmation number is invalid.

{
    "ErrorCode": "InvalidPreheldId",
    "Message": "Invalid Reservation confirmation number",
    "TimeStamp": "2020-05-01T18:43:01.3795676Z"
}