Deeplinks
With deeplinks you can create URLs which open Booking Engine Standalone in some pre-defined setup, for example with a specific currency or specific dates. You do this by simply adding supported parameters to the URL in the form of a URL query string. For example:
Supported parameters
This is the list of parameters that can be added to the URL query string. Parameters can be combined, and some parameters have no effect unless they are used in combination, e.g. mewsHotel
.
Parameters supported in single and multi-enterprise mode
Name | Description | Example |
---|---|---|
mewsStart | an arrival date in ISO 8601 format ( |
|
mewsEnd | a departure date in ISO 8601 format ( |
|
mewsVoucherCode | a voucher code |
|
mewsRoute |
| |
mewsSort | sort categories on category step by lowest/highest price; overrides all other ordering methods |
|
mewsRoom | opens with specified room selected ( |
|
mewsAdultCount | number of adults that should be selected by default |
|
mewsChildCount | number of children that should be selected by default |
|
language | a language code ( |
|
currency | a currency code ( |
|
Additional parameters supported in multi-enterprise mode
In addition, Mews Booking Engine in multi-enterprise mode also supports:
Name | Description | Example |
---|---|---|
mewsCityId | selects specified city ( |
|
mewsHotel | selects specified hotel ( |
|
mewsRoute
With parameter mewsRoute
you can open the Mews Booking Engine on a specific step, e.g. selecting a room (or other bookable space) or selecting a rate.
Note: The steps available depend on whether you are using single-enterprise or multi-enterprise mode. Some steps also require additional parameters to be set, otherwise the mewsRoute parameter will not work correctly (see the following tables for details).
mewsRoute in single-enterprise mode
Step | Required parameters | What it does |
---|---|---|
| none | Application will open a page where user can select a room category. |
| mewsRoom | Application will open a page where user can select rate, products and occupancy. |
mewsRoute in multi-enterprise mode
Step | Required parameters | What it does |
---|---|---|
| mewsCityId | Application will open a page where user can select a hotel (or other property type). |
| mewsCityId, mewsHotel | Application will open a page where user can select a room category (or other space type category). |
| mewsCityId, mewsHotel, mewsRoom | Application will open a page where user can select rate, products and occupancy. |
Examples
Example 1: Specific start date, voucher code and language
The following deeplink will open the booking engine with a specific start date, specific voucher code and specific language:
Example 2: Pre-selected room and currency on rate selection step
The following deeplink will open the booking engine on the rate selection step with a specific pre-selected room and specific currency:
Example 3: Multi-enterprise with pre-selected city on hotel selection step
The following deeplink will open the booking engine in multi-enterprise mode on the hotel selection step with a specific pre-selected city:
Last updated