WebHotelier supports voucher codes. Voucher codes unlock hidden special offers and packages.

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

Parameters

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

Usage

If no special offer or package is found the using the supplied voucher code or the offer has expired, the code is ignored.

The voucher parameter can be combined with the Check Rates method to automatically launch availability using the voucher code.

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="voucher" size="20" maxlength="255" />

	<button type="submit">Check Rates</button>
</form>

Examples of GET requests

https://example.reserve-online.net/?voucher=EXAMPLE
https://example.reserve-online.net/?voucher=EXAMPLE&checkin=208-05-15&checkout=2008-05-17&adults=2