Skip to content
Last updated

Search, look and book integration

Let travellers search for travel products, review live prices and availability, and complete their booking without leaving your platform.


Overview

A Search, look and book integration combines live search and availability with the Orders API collection to provide an end-to-end booking experience on your platform.

Travellers can search, compare options, review current prices and booking conditions, and complete their booking within your application:

  • Use search endpoints to find travel products that match the traveller's criteria.
  • Use availability endpoints to retrieve current prices, availability and booking conditions.
  • Use /orders/preview to retrieve and validate the final order details before booking.
  • Use /orders/create to create the order after the traveller confirms.

Unlike a Search, look and redirect integration, the traveller is not redirected to Booking.com to complete the booking.

Car rental booking is in Beta

Search, look and book is fully available for accommodations in versions 3.1 and 3.2. For car rentals, this integration is only available in 3.2 Beta and is currently restricted to eligible partners participating in the early access programme.


When to use Search, look and book

Choose this integration if you want to:

  • Provide an end-to-end booking experience within your application.
  • Let travellers search, compare and book without being redirected to Booking.com.
  • Present final pricing and booking conditions before confirmation.
  • Create bookings using the Orders API.
  • Integrate supported payment flows into your booking experience.

Prerequisites

Before implementing this integration, complete the Demand API prerequisites.

You also need the content, search and availability capabilities required to let travellers find and select a travel product before starting the order flow.

For guidance on these capabilities, see:


How it works

A Search, look and book integration extends the search and selection experience with an order flow.

Your application:

  • Finds suitable travel products.
  • Retrieves current pricing and availability.
  • Previews the order.
  • Presents the final order details to the traveller.
  • And creates the order after the traveller confirms.

Search, look and book integration flow

Implementation workflow

A typical Search, look and book integration follows these steps:

StepDescription
  1. Search
Find travel products that match the traveller's search criteria.
  1. Look
Retrieve current prices, availability and booking conditions for the relevant travel products.
  1. Preview
Retrieve and validate the final order details before the traveller confirms the booking.
  1. Book
Create the order using the information returned by the preview step.

Search for travel products

Use the relevant search endpoint to find travel products that match the traveller's criteria.

Search criteria vary by travel service and can include information such as:

  • Destination or location.
  • Travel dates.
  • Number of travellers.
  • Occupancy.
  • Other travel-service-specific criteria.

Use the search response to present matching options and, where required, identify the travel products for which you need more detailed availability information.

Search and availability endpoints vary by travel service. Refer to the API reference for supported request parameters and response data.


Retrieve live availability

Use the relevant availability endpoint to retrieve current information for the travel product or option the traveller is considering.

Depending on the travel service, availability information can include:

  • Current pricing.
  • Availability.
  • Booking conditions.
  • Policies.
  • Product or option details required to continue the booking flow.

Availability and pricing are dynamic. Retrieve the current information required for the traveller's selection before continuing to the order flow.

Do not store prices or availability as static content

Prices and availability can change frequently. Do not use stored data to represent current prices or availability.

Retrieve current information from the relevant search and availability endpoints before presenting it as current to the traveller or continuing with the booking flow.


Preview the order

Before creating an order, send the selected product and required booking information to /orders/preview.

The preview step returns the information required for the traveller to review the order before confirming it.

Depending on the travel service and booking, the response can include:

  • Final pricing.
  • Taxes and charges.
  • Payment information.
  • Cancellation and booking policies.
  • Product information.
  • Other information required to create the order.

The /orders/preview response also returns an order token. Use this token when creating the order with /orders/create.

Use the preview response to present the final order details to the traveller before they confirm the booking.

Use the latest preview information

Prices, availability and booking conditions can change during the booking journey.

Use the current /orders/preview response when presenting the final order details and creating the order.


Handle payment requirements

Payment requirements can vary depending on the travel service, product, rate and payment configuration.

Use the information returned by the Demand API to determine the payment experience required for the selected booking.

Your implementation may need to handle information such as:

  • Payment timing.
  • Supported payment methods.
  • Payment card details.
  • Payment guarantees.
  • Additional payment requirements.

Do not assume that the same payment flow applies to every booking.

For details about supported payment flows and requirements, see the Payments documentation.


Create the order

After the traveller reviews and confirms the final order details, use /orders/create to create the order.

  • Pass the order token returned by /orders/preview together with the information required by the create request.

  • A successful response confirms that the order has been created and returns information that your application can use for confirmation and subsequent order-related workflows.

Store the identifiers and other order information required by your application for later retrieval, reporting or post-booking operations.

See the Order creation guide for examples and details.


Display the booking confirmation

After the order is successfully created, show the traveller a clear confirmation of the booking.

Use the information returned by the API to display the confirmation details relevant to the travel service and booking.

Depending on the response, this can include:

  • Order or reservation identifiers.
  • Booked product details.
  • Travel dates.
  • Price and payment information.
  • Relevant booking conditions or policies.

Keep the order identifiers returned by the API so that the booking can be retrieved or managed later where supported.


Search, look and book integration checklist

Before considering your Search, look and book integration complete, verify that:

Checklist
You have completed the Demand API prerequisites.
Travellers can search for and select supported travel products.
You retrieve current pricing, availability and booking conditions when required for the traveller's selection.
You use /orders/preview to retrieve the final order information before creating the order.
The traveller can review the final price, booking conditions and other required information before confirming.
Your payment flow handles the requirements returned for the selected booking.
You use the order token returned by /orders/preview when creating the order with /orders/create.
You treat the booking as confirmed only after /orders/create successfully creates the order.
You store the order information required for subsequent reporting or post-booking operations.

What this integration does not cover

A Search, look and book integration creates the booking, but post-booking management is a separate capability.


Next steps

After implementing Search, look and book:

  1. Test the complete search, availability, preview and create flow.
  2. Verify that the final order information shown to the traveller comes from the current preview response.
  3. Test the payment flows supported by your integration.
  4. Test successful and unsuccessful order creation scenarios.
  5. Verify that your application stores the identifiers required for subsequent order operations.
  6. Review error handling for the endpoints used by your booking flow.

To retrieve, modify or cancel bookings after confirmation where supported, continue with the Post-booking management integration.