A booking widget is a small search form on your own website. Guests enter their dates and number of guests, click a button, and land on your GuestPoint Booking Engine (WebPoint) with those details already filled in. The booking and payment then happen securely on the booking engine.
This article is for web developers adding a widget or a Book Now button to a property's official website.
Every GuestPoint Booking Engine address ends in .bookus.direct, e.g. https://yourproperty.bookus.direct/. Use this as the widget's form action.
To find it, go to Management → Booking Engine → Booking Engine Configuration → Settings, scroll to Booking Engine URL and click 'Copy Link'. See Settings.
If the Booking Engine tab shows a Get Started button, the booking engine hasn't been set up yet. See Enabling the GuestPoint Booking Engine.
Older WebPoint Classic booking engines (addresses that don't end in .bookus.direct) use different settings, so this article doesn't apply to them.
Add these to the booking engine URL, or use them as the field names in your form. Use any combination.
| Parameter | Format | What it does |
| startDate | yyyy-mm-dd | Check-in date |
| endDate | yyyy-mm-dd | Check-out date |
| numNights | Number | Number of nights. Use instead of endDate. If both are sent, numNights is used. |
| numAdults | Number | Number of adults |
| numChildren | Number | Number of children |
| promoCode | Text | Promotion code (optional). See the warning below. |
| roomTypes | Room type ID | Shows only that room type (not a single room). Separate several IDs with commas. |
| ratePlans | Rate plan ID | Shows only that rate plan. Separate several IDs with commas. Works without roomTypes, as each rate plan shows under its own room type. |
Parameter names are case-sensitive, so type them exactly as shown. The booking engine also accepts arrivalDate for startDate and departureDate for endDate.
15 to 18 February 2027 for 2 adults:
https://yourproperty.bookus.direct/?startDate=2027-02-15&endDate=2027-02-18&numAdults=2
15 February 2027 for 3 nights, 2 adults and 1 child:
https://yourproperty.bookus.direct/?startDate=2027-02-15&numNights=3&numAdults=2&numChildren=1
The same search with a promotion code (DIRECT5):
https://yourproperty.bookus.direct/?startDate=2027-02-15&numNights=3&numAdults=2&numChildren=1&promoCode=DIRECT5
Use roomTypes to send guests straight to one room type. This suits a Book Now or Check Availability button beside each room on your website, or properties with rooms in different locations (e.g. separate holiday homes) that want a booking page per location.
These links go on the buttons of your own website. There's no setting for them in GuestPoint, so your web developer adds them.
<a href="https://yourproperty.bookus.direct/?roomTypes=ROOM-TYPE-ID" target="_blank">Book Now</a>
You can add dates and guests too, e.g. ?roomTypes=ROOM-TYPE-ID&startDate=2027-02-15&numNights=2&numAdults=2. To show two room types, separate the IDs with a comma: ?roomTypes=ID-1,ID-2.
To show only certain rates, such as a breakfast package, use ratePlans instead: ?ratePlans=RATE-PLAN-ID. If a link has both roomTypes and ratePlans, only rates that match both show.
A property's Cabins page has one section per room type, each with its own button:
| Button on the website | Link |
| Cabins 1 and 2 (Two-Bedroom Cabin) | https://yourproperty.bookus.direct/?roomTypes=TWO-BEDROOM-CABIN-ID |
| Cabin 3 (Accessible Cabin) | https://yourproperty.bookus.direct/?roomTypes=ACCESSIBLE-CABIN-ID |
| Main Book Now button | https://yourproperty.bookus.direct/ (all room types) |
Keep the main Book Now button on the plain booking engine address, so guests can still see every room type.
<form action="https://yourproperty.bookus.direct/" method="get" target="_blank">
<label>Check-in date <input type="date" name="startDate" required></label>
<label>Nights
<select name="numNights">
<option value="1">1</option><option value="2" selected>2</option><option value="3">3</option>
<option value="4">4</option><option value="5">5</option><option value="7">7</option>
</select>
</label>
<label>Adults
<select name="numAdults">
<option value="1">1</option><option value="2" selected>2</option><option value="3">3</option><option value="4">4</option>
</select>
</label>
<label>Children
<select name="numChildren">
<option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option>
</select>
</label>
<button type="submit">Check Availability</button>
</form>
A date field (type="date") sends the date in yyyy-mm-dd format automatically.
<form action="https://yourproperty.bookus.direct/" method="get" target="_blank">
<label>Check-in date <input type="date" name="startDate" required></label>
<label>Check-out date <input type="date" name="endDate" required></label>
<label>Adults
<select name="numAdults">
<option value="1">1</option><option value="2" selected>2</option><option value="3">3</option><option value="4">4</option>
</select>
</label>
<label>Children
<select name="numChildren">
<option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option>
</select>
</label>
<label>Promotion code <input type="text" name="promoCode"></label>
<button type="submit">Check Availability</button>
</form>
Add your own styling and checks, e.g. stop the check-out date being before the check-in date.