Skip Navigation

Validate Order

Overview

The Validate Order API allows the vali,dation of a room and the SRS products added with the room before confirming the room and SRS products in a reservation or shopping cart.

The API checks if the Offers/SRS products are still valid and available to be booked and confirmed along with the room and rate code specified. It also checks to see if any mandatory SRS products that are required to be bought with the room and/or rate are missing from the reservation or shopping cart.

To validate the SRS products/offers, pass the following information in the request:

  • Access Codes that specify the room and rate codes of the room.
  • Product Details of each Product added to cart including Product SKU, quantity by age type, price, date/time of booking.
  • Number of Guests by their Age Type (Adult, Senior, Child) on the source product which is the room.
  • Stay Dates of source product which is the room.
  • Booking Channel.
  • Currency.,
  • Vendor Store Id.
  • Order Id which is the unique ID of the reservation created for the room.

    Note: This is currently a required field. You can provide this information in the Validate API RQ body if reservation is booked and confirmed in two different steps.
    This information may not be always available for client applications that allow booking guests to book and confirm reservation with room plus SRS products in a single step. So this needs to be changed in a subsequent SRS release to make it an optional field.

The response from the API indicates a failure if any products in the cart are invalid or unavailable or if the cart has missing mandatory products for the room and/or rate codes passed in the request body.

Thus, Booking Engine application MUST invoke this API in the Booking flow before confirming the items in the cart, so that hoteliers do no lose out on the revenue of mandatory products.