Basic usage

If you have an existing website or a content management system with the information about units that are also present in Lemax, integrating via a book button is the simplest and fastest way to connect your website to the Lemax reservation process and provide a seamless booking experience for you and your customers. With this method of integration you will manually manage your unit information in both the Lemax system as well as on your website – the book button integration only provides you with a simple way to link your existing website pages only with the Lemax booking process. If you wish to integrate detailed descriptions and other unit information onto your website, see our other methods of integration.

In order to add a book button / booking link on your website, you will need to:

  1. Get the ID of the unit for which you wish to use Lemax’s online booking form. You may find the unit ID by hovering on the unit name on the price list in Lemax:
  2. Generate a booking form link for each unit available on your website by using our booking form link generator.
  3. Place the link on the desired positions on your website.

Example – placing the generated booking form link on your website

After you have generated a link via our booking form link generator, place it on the desired position on your website (your unit list page, detailed description page, etc.) via an anchor tag:

<a href=",25">Book now!</a>

In most cases you will style the link to look like a call-to-action button:

Book now!

Another alternative is implementing a custom on-click handler in JavaScript that could perform an action of your choice on button click – for example, opening the booking form inside an iFrame on your website.

Book now!

Advanced usage

Injecting the booking form inside your website contents (using an inline booking form)

We provide you with an easy-to-use solution so you can wrap our booking form inside your website! This is an often-requested feature that enables your customers never to leave your site throughout the whole booking process.  Click to see an example.

In order to do this you will need to

  1. create a page that will hold the booking form
  2. add a <div> element with a data-frame-type="booking-form" attribute to the created page – the booking form will be rendered inside that element
  3. make sure a recent version of jQuery and itraveliFrame.js (available from script are included on the page

After you have finished with the steps above, you may now use the page as a booking form wrapper with the original booking form URL passed in as a bookingAddress query string parameter. Make sure you URL encode the original online booking form link! For example As always, you may get the original online booking form URL by using our booking form link generator.

Example booking page HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<div data-frame-type="booking-form"></div>
<script src="//" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>  <script src="//"></script> </body> </html>

Generating a booking form link for multiple units

For booking multiple units it is possible to pass several unit IDs. This is done by setting the unitsID parameter to an underscore-separated list of unit IDs. This will create a reservation with multiple items, similar to what you’d expect from a “shopping cart” kind of functionality.


For a booking form that allows the booking of three units with IDs 1, 2 and 3 respectively, you could use the following link:

Customizing booking form values via parameters

Besides unitsId you can pass several more parameters (query strings) that will set the values of the reservation form. The following parameters are supported:

Key Description
sifraJezik Sets the language that the booking form is displayed in. See Supported languages for a list of valid values. 1
startDate Sets the booking start date to the provided time value (in UTC .NET ticks 2).
endDate Sets the requested booking end date to the provided time value (in UTC .NET ticks 2).
affiliateID Sets the customer or travel agent affiliate code for the reservation. 3
sifraValuta Sets the currency for the reservation. See Supported currencies for a list of valid values. 1
persons A comma delimited list of person ages. Determines the inital amount of persons on the form.

If an age lower than the maximum child age defined in Lemax is specified, the booking form will automatically treat that person as a child.

¹ For changing the language or currency via sifraJezik or sifraValuta respectively you must have that languge and/or currency enabled in your back office.
² For more information take a look at the official DateTime.Ticks documentation.
³ Only applies if you have the affiliate module enabled in your Lemax system.

To make this process easier use our booking form link generator.


The following link will open a booking form for the unit with the ID of 170, translated to Danish, using the Danish krone as the currency and having two adult persons (25 years old):,25

See Supported lanuages and Supported currencies for a list of languages and currencies that can be used as sifraJezik and sifraValuta values or use our booking form link generator to do the job for you.

Additional information

Supported langugages

sifraJezik Language
1 Croatian
2 English
3 Italian
4 German
5 French
6 Montenegrin
7 Russian
8 Czech
9 Hungarian
10 Serbian
11 Slovenian
12 Polish
13 Danish
14 Finnish
15 Arabic-Egypt
16 Bulgarian
17 Swedish
18 Greek
19 Thai
20 Spanish
21 Bosnian
22 Chinese (Simplified)
23 Dutch
24 Japanese
25 Portuguese
26 Norwegian
27 Albanian
28 Macedonian
29 Arabic
30 Vietnamese
31 Persian
32 Estonian
33 Latvian
34 Lithuanian
35 Ukrainian
36 Chinese (Taiwan)
37 Azerbaijan
38 Turkish
39 Hebrew
40 Romanian

Supported currrencies

sifraValuta Currency
8 Lek (ALL)
12 Algerian Dinar (DZD)
32 Argentine Peso (ARS)
36 Australian Dollar (AUD)
44 Bahamian Dollar (BSD)
48 Bahraini Dinar (BHD)
50 Taka (BDT)
51 Armenian Dram (AMD)
52 Barbados Dollar (BBD)
60 Bermudian Dollar (BMD)
64 Ngultrum (BTN)
68 Boliviano (BOB)
72 Pula (BWP)
84 Belize Dollar (BZD)
90 Solomon Islands Dollar (SBD)
96 Brunei Dollar (BND)
104 Kyat (MMK)
108 Burundi Franc (BIF)
116 Riel (KHR)
124 Canadian Dollar (CAD)
132 Cape Verde Escudo (CVE)
136 Cayman Islands Dollar (KYD)
144 Sri Lanka Rupee (LKR)
152 Chilean Peso (CLP)
156 Yuan Renminbi (CNY)
170 Colombian Peso (COP)
174 Comoro Franc (KMF)
188 Costa Rican Colon (CRC)
191 Croatian Kunas (HRK)
192 Cuban Peso (CUP)
203 Czech Koruna (CZK)
208 Danish Krone (DKK)
214 Dominican Peso (DOP)
222 El Salvador Colon (SVC)
230 Ethiopian Birr (ETB)
232 Nakfa (ERN)
238 Falkland Islands Pound (FKP)
242 Fiji Dollar (FJD)
262 Djibouti Franc (DJF)
270 Dalasi (GMD)
292 Gibraltar Pound (GIP)
320 Quetzal (GTQ)
324 Guinea Franc (GNF)
328 Guyana Dollar (GYD)
332 Gourde (HTG)
340 Lempira (HNL)
344 Hong Kong Dollar (HKD)
348 Forint (HUF)
352 Iceland Krona (ISK)
356 Indian Rupee (INR)
360 Rupiah (IDR)
364 Iranian Rial (IRR)
368 Iraqi Dinar (IQD)
376 New Israeli Sheqel (ILS)
388 Jamaican Dollar (JMD)
392 Yen (JPY)
398 Tenge (KZT)
400 Jordanian Dinar (JOD)
404 Kenyan Shilling (KES)
408 North Korean Won (KPW)
410 Won (KRW)
414 Kuwaiti Dinar (KWD)
417 Som (KGS)
418 Kip (LAK)
422 Lebanese Pound (LBP)
426 Loti (LSL)
428 Latvian Lats (LVL)
430 Liberian Dollar (LRD)
434 Libyan Dinar (LYD)
440 Lithuanian Litas (LTL)
446 Pataca (MOP)
454 Kwacha (MWK)
458 Malaysian Ringgit (MYR)
462 Rufiyaa (MVR)
478 Ouguiya (MRO)
480 Mauritius Rupee (MUR)
484 Mexican Peso (MXN)
496 Tugrik (MNT)
498 Moldovan Leu (MDL)
504 Moroccan Dirham (MAD)
512 Rial Omani (OMR)
516 Namibia Dollar (NAD)
524 Nepalese Rupee (NPR)
532 Netherlands Antillean Guilder (ANG)
533 Aruban Florin (AWG)
548 Vatu (VUV)
554 New Zealand Dollar (NZD)
558 Cordoba Oro (NIO)
566 Naira (NGN)
578 Norwegian Krone (NOK)
586 Pakistan Rupee (PKR)
590 Balboa (PAB)
598 Kina (PGK)
600 Guarani (PYG)
604 Nuevo Sol (PEN)
608 Philippine Peso (PHP)
634 Qatari Rial (QAR)
643 Russian Ruble (RUB)
646 Rwanda Franc (RWF)
654 Saint Helena Pound (SHP)
678 Dobra (STD)
682 Saudi Riyal (SAR)
690 Seychelles Rupee (SCR)
694 Leone (SLL)
702 Singapore Dollar (SGD)
704 Dong (VND)
706 Somali Shilling (SOS)
710 Rand (ZAR)
728 South Sudanese Pound (SSP)
748 Lilangeni (SZL)
752 Swedish Krona (SEK)
756 Swiss Franc (CHF)
760 Syrian Pound (SYP)
764 Baht (THB)
776 Pa’anga (TOP)
780 Trinidad and Tobago Dollar (TTD)
784 UAE Dirham (AED)
788 Tunisian Dinar (TND)
800 Uganda Shilling (UGX)
807 Denar (MKD)
818 Egyptian Pound (EGP)
826 Funte (GBP)
834 Tanzanian Shilling (TZS)
840 Dolari (USD)
858 Peso Uruguayo (UYU)
860 Uzbekistan Sum (UZS)
882 Tala (WST)
886 Yemeni Rial (YER)
894 Zambian Kwacha (ZMK)
901 New Taiwan Dollar (TWD)
931 Peso Convertible (CUC)
932 Zimbabwe Dollar (ZWL)
934 Turkmenistan New Manat (TMT)
936 Ghana Cedi (GHS)
937 Bolivar Fuerte (VEF)
938 Sudanese Pound (SDG)
940 Uruguay Peso en Unidades Indexadas (URUIURUI) (UYI)
941 Serbian Dinar (RSD)
943 Mozambique Metical (MZN)
944 Azerbaijanian Manat (AZN)
946 New Romanian Leu (RON)
947 WIR Euro (CHE)
948 WIR Franc (CHW)
949 Turkish Lira (TRY)
950 CFA Franc BEAC (XAF)
951 East Caribbean Dollar (XCD)
952 CFA Franc BCEAO (XOF)
953 CFP Franc (XPF)
955 Bond Markets Unit European Composite Unit (EURCO) (XBA)
956 Bond Markets Unit European Monetary Unit (E.M.U.-6) (XBB)
957 Bond Markets Unit European Unit of Account 9 (E.U.A.-9) (XBC)
958 Bond Markets Unit European Unit of Account 17 (E.U.A.-17) (XBD)
959 Gold (XAU)
960 SDR (Special Drawing Right) (XDR)
961 Silver (XAG)
962 Platinum (XPT)
964 Palladium (XPD)
965 ADB Unit of Account (XUA)
968 Surinam Dollar (SRD)
969 Malagasy Ariary (MGA)
970 Unidad de Valor Real (COU)
971 Afghani (AFN)
972 Somoni (TJS)
973 Kwanza (AOA)
974 Belarussian Ruble (BYR)
975 Bulgarian Lev (BGN)
976 Congolese Franc (CDF)
977 Convertible Mark (BAM)
978 Euros (EUR)
979 Mexican Unidad de Inversion (UDI) (MXV)
980 Hryvnia (UAH)
981 Lari (GEL)
984 Mvdol (BOV)
985 Zloty (PLN)
986 Brazilian Real (BRL)
990 Unidades de fomento (CLF)
994 Sucre (XSU)
997 US Dollar (Next day) (USN)
998 US Dollar (Same day) (USS)