Advanced guide
Full example
<script>
Mews.Distributor({
// required
configurationIds: [
'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'
],
// optionals
openElements: '',
},
function(distributor) {
// Always available api calls
// distributor.open();
// distributor.setLanguageCode(languageCode);
// distributor.setCurrencyCode(currencyCode);
// distributor.setStartDate(date);
// distributor.setEndDate(date);
// distributor.setVoucherCode(code);
// Singlehotel mode api calls
// distributor.showRooms();
// distributor.showRates(roomId);
// Multihotel mode api calls
// distributor.showHotels();
// distributor.showRooms(hotelId);
// distributor.setCity(cityId);
});
</script>Payment card storage
Payment gateways
Last updated
Was this helpful?