Skip to content

Booking parameters

The hosted Booking Engine accepts a range of GET parameters. Use them to open the Booking Engine with the right dates, number of persons, accommodation type and more already selected. This page describes each one.

You can try them out on the demo: https://booking.camping.care/demo

Send parameters to the Booking Engine in this format:

https://booking.camping.care/demo?arrival=2022-07-31&departure=2022-08-06&category=rent&guests=

Replace demo in the URL with your own campsite slug.

These are the parameters you can use:

  • arrival
  • departure
  • accommodation
  • guests
  • birthdates
  • category
  • admin_id (for OTAs only)
  • channel_id (for OTAs only)
  • hide_filter
  • modes
  • view
  • show_camping_name
  • discountcard
  • show_discount_card
  • persons
  • website_url
  • back_url
  • object_id
  • lang
  • default_days
  • _gl

Sets the arrival date in the Booking Engine, in the format YYYY-MM-DD.

Sets the departure date in the Booking Engine, in the format YYYY-MM-DD.

Sets the guests using the age table IDs from your system. The value is a JSON string, URL-encoded. It looks like this:

[{"id": 12345, "count": 2}, {"id": 12346, "count": 1}]

If you don’t have the age table information above, you can send the guests’ birth dates instead. We convert them to the right age tables. The value is a URL-encoded JSON object, like this:

[{"birthdate":"2015-01-01","amount":1}, {"birthdate":"2004-02-01","amount":2}]

In this case there is one child born on 2020-01-01 and one adult born on 2004-02-01.

The ID of the accommodation to select by default. Required if you open the accommodation or cart view.

The accommodation category: rent or camp.

If you’re an OTA, you can send the admin_id with the request to say which campsite you want to book.

Hides the rent / camp category filter if you don’t need it.

Either production (default) or test.

One of filter (default), accommodation, cart or map.

Whether to show the campsite name. By default we don’t.

The ID of the discount card to preselect.

Shows the option to select a discount card on the filter page.

The number of persons selected by default.

The URL we send the guest to when they click the back button on the home or filter page.

We always send the guest to this URL when they click the back button.

Preselects an object ID (a place or room ID). This only works if the object belongs to the selected accommodation.

Forces a specific language (ISO 639-1 code). By default we use the guest’s browser language, and if that isn’t available we fall back to en.

By default, 7 days are selected. You can change this by sending a different number of days. This is overridden if you use the arrival or departure parameter.

The code for Google Analytics cross-domain tracking.

<form action="https://booking.camping.care/demo" method="get">
<label for="category">Rent or Camp?</label>
<select id="category" name="category">
<option value="" selected>Select your category</option>
<option value="rent">Rental Accommodations</option>
<option value="camp">Camping</option>
</select><br><br>
<label for="arrival">Arrival:</label>
<input type="date" id="arrival" name="arrival"><br><br>
<label for="departure">Departure:</label>
<input type="date" id="departure" name="departure"><br><br>
<input type="submit" value="Search and Book">
</form>

Change the form action to your own booking URL, which you’ll find on the website integration page: https://app.camping.care/settings/onlinebooking/integration

Choose the hosted booking site option.