# Changelog 2022

## 13th December 2022

* API: Added [OpenAPI definition](https://docs.mews.com/booking-engine-guide/booking-engine-api#openapi-definition)

## 9th November 2022

* API: Changed [SettlementValue](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/hotels#rate-group) to optional field and added `SettlementFlatValue` property of absolute settlement amount

## 25th October 2022

* Widget: Added new [Google Analytics 4](https://docs.mews.com/booking-engine-guide/integrations/google-triggers-reference#google-analytics-4-ga4-events) documentation
* Widget: Enhanced [Google Tag Manager (GTM)](https://docs.mews.com/booking-engine-guide/integrations/google-tag-manager#google-tag-manager-gtm) documentation

## 20th October 2022

* API: Added new operation [Get services availability](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/services#get-services-availability)
* API: Added new operation [Get services pricing](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/services#get-services-pricing)

## 19th October 2022

* API: Added new operation [Get reservation price](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/reservations#get-reservation-price)

## 1st July 2022

* API: Added new operation [Get availability blocks](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/availability-blocks#get-availability-blocks)
* API: `AvailabilityBlockId` property added to [Get availability](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/hotels#get-availability), [Create reservation groups](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/reservation-groups#create-reservation-groups) and [Get reservation pricing](https://docs.mews.com/booking-engine-guide/booking-engine-api/operations/reservations#get-reservation-pricing)
* API: Added new [Availability Blocks Use Case](https://docs.mews.com/booking-engine-guide/booking-engine-api/use-cases/availability-blocks)
* API: Added new [Supported currency codes](https://docs.mews.com/booking-engine-guide/booking-engine-api/guidelines/supported-currency-codes) documentation.
* API: Added new [Supported language codes](https://docs.mews.com/booking-engine-guide/booking-engine-api/guidelines/supported-language-codes) documentation.

## 7th June 2022

* General: Launch of **Mews Booking Engine Guide** at new URL <https://mews-systems.gitbook.io/booking-engine-guide/>, based on the old Distributor Guide
  * Entire documentation re-structured and re-worded, for improved navigation and readability, and for consistency with other Mews APIs
  * Product re-branded from 'Distributor' to 'Mews Booking Engine'
  * No changes to API functionality

## 28th March 2022

* API: Password for test environment changed to *Distributor-api1*

## 18th January 2022

* Widget: Introduced new API methods to Distributor instance: [`setAdultCount`](https://docs.mews.com/booking-engine-guide/booking-engine-widget/reference) and [`setChildCount`](https://docs.mews.com/booking-engine-guide/booking-engine-widget/reference).
* Standalone: Introduced new deeplinks `mewsAdultCount` and `mewsChildCount` to set initial occupancy.

| Next                                                                                 |
| ------------------------------------------------------------------------------------ |
| [Changelog 2021](https://docs.mews.com/booking-engine-guide/changelog/changelog2021) |
