WebHotelier supports pre-selection of a booking code. Booking codes unlock hidden rates.

Table of Contents
  1. Parameters
  2. Usage
  3. Examples of POST requests
  4. Examples of GET requests

Intro

Parameters

NAME TYPE RANGE REQUIRED DEFAULT EXAMPLE NOTES
bkcode string varchar(255) YES bkcode=EXAMPLE  

Usage

If the supplied booking code is invalid or no rates are found matching the code, the parameter is ignored.

The URL including the bkcode parameter should not be visible on public web pages or other publicly accessible resources, the URL should be provided only to 3rd parties that must have access to the hidden rates. For widely used special offers, Voucher Codes are more appropriate.

The bkcode parameter can be combined with Availability parameters to enable a booking code and search for available rates at the same time.

⛔ CAUTION ⛔

Do not forget to replace example.reserve-online.net in the examples below with the real booking engine hostname.

If you don't know the hostname yet, please contact WebHotelier support.

Example of POST request using a standard HTML form

<form action="https://example.reserve-online.net/" method="post">

	<label>Booking Code</label>
	<input type="text" name="bkcode" size="20" maxlength="255" />

	<button type="submit">Launch Booking Engine</button>
</form>

Examples of GET requests

https://example.reserve-online.net/?bkcode=EXAMPLE
https://example.reserve-online.net/?bkcode=EXAMPLE&checkin=2024-02-29&checkout=2024-03-07&adults=2