WebHotelier supports pre-selection of a booking code. Booking codes unlock hidden rates.
NAME | TYPE | RANGE | REQUIRED | DEFAULT | EXAMPLE | NOTES |
---|---|---|---|---|---|---|
bkcode | string | varchar(255) | YES | — | bkcode=EXAMPLE |
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.
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.
<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>
https://example.reserve-online.net/?bkcode=EXAMPLE https://example.reserve-online.net/?bkcode=EXAMPLE&checkin=2024-11-05&checkout=2024-11-12&adults=2