Booking Engine Widget and Link Parameters (for Web Developers)

Booking Engine Widget and Link Parameters (for Web Developers)

Quick Answer: Give this article to your web developer. Your booking engine link is in Management → Booking Engine → Booking Engine Configuration → Settings → Booking Engine URL. Widget forms must use method="get".

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.

Not supported: embedding the whole booking engine inside your website (iframes). Use a widget or a link instead.

Website made and hosted by GuestPoint? Our Website Team can add the widget for you, so contact GuestPoint instead.

Your booking engine URL

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.

Parameters you can send

Add these to the booking engine URL, or use them as the field names in your form. Use any combination.

ParameterFormatWhat it does
startDateyyyy-mm-ddCheck-in date
endDateyyyy-mm-ddCheck-out date
numNightsNumberNumber of nights. Use instead of endDate. If both are sent, numNights is used.
numAdultsNumberNumber of adults
numChildrenNumberNumber of children
promoCodeTextPromotion code (optional). See the warning below.
roomTypesRoom type IDShows only that room type (not a single room). Separate several IDs with commas.
ratePlansRate plan IDShows 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.

Rules to follow

  • Use method="get". A form that uses method="post" opens a "404 page not found" page.
  • Dates must be in yyyy-mm-dd format, e.g. 2027-02-15.
  • Put several IDs in one parameter, separated by commas, e.g. ratePlans=ID-1,ID-2. If the same parameter appears twice in a link, only the last one is used.
  • Only send a promoCode that's active. If the code doesn't exist or has expired, the booking engine ignores the whole link and opens on today's date for 1 adult. Leaving promoCode blank is fine.
  • Room type and rate plan filters stay on while the guest stays in the same browser tab, even if they then open a plain link. Open the booking engine in a new tab (target="_blank") so each visit starts fresh.

Example links

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

Book Now button for one room type

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.

roomTypes filters by room type, not by room number. Every room of that room type shows together. For example, if Cabin 1 and Cabin 2 are both the Two-Bedroom Cabin room type, a link for Cabin 1 also shows Cabin 2, so both cabins share one link. A separate link for each room only works when each room is its own room type in GuestPoint.
<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.

Example: one link per room type

A property's Cabins page has one section per room type, each with its own button:

Button on the websiteLink
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 buttonhttps://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.

Getting room type and rate plan IDs
IDs are long codes, e.g. ca8baf51-a12e-459c-a969-5e5b43fbf2ba. They aren't the Channel Manager Code or the room type name, and they aren't shown anywhere in GuestPoint.

Contact GuestPoint Support with your booking engine address and the room types (or rate plans) you need links for. We'll send each ID with a ready-made link you can click to preview. Open each link in a new browser tab to check it, as the filter stays on in the same tab.

HTML widget example 1: check-in date and guests

<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.

HTML widget example 2: check-in, check-out and promotion code

<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.