Skip to content

Commit deaaacf

Browse files
Merge pull request #200 from MewsSystems/unified-structure
Extensive refresh of site for standardized structure
2 parents 868789d + d4452bf commit deaaacf

File tree

22 files changed

+297
-213
lines changed

22 files changed

+297
-213
lines changed

.gitbook.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
root: ./
2+
3+
redirects:
4+
mews-operations/operations: mews-operations/README.md
5+
channel-manager-operations/operations: channel-manager-operations/README.md

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# Mews Channel Manager API
22

3-
Welcome to the __Mews Channel Manager API__. This is the Mews API for distribution and sales channels, supporting two main use cases: distributing availability, rates and inventory data to sales channels; and accepting reservations from sales channels. Typically, the users of this API are Channel Managers, which act as hubs for managing the various sales channels that a property may be connected to. The API connects these Channel Managers with __Mews Operations__.
3+
Welcome to the __Mews Channel Manager API__. This is the Mews API for distribution and sales channels, supporting two main use cases: distributing availability, rates and inventory data to sales channels, and accepting reservations from sales channels.
4+
To fully implement the API, you need to both make requests to Mews and also create your own endpoints to accept data from Mews.
45

5-
The integration functionality is two-way, so the API is implemented in two parts:
6+
> ### Two-way functionality
7+
> * The [Mews side](mews-operations/README.md) handles requests from Channel Managers, including new reservations.
8+
> * The [Channel Manager side](channel-manager-operations/README.md) handles requests from Mews, including availability updates.
69
7-
* The [Mews side](mews-operations/README.md) receives requests from external Channel Managers, including new reservations
8-
* The [Channel Manager side](channel-manager-operations/README.md) receives requests from Mews, including availability updates
10+
For detailed information on connecting, authentication tokens, error codes, and more, see our [Usage guidelines](guidelines/README.md).
11+
To gain deeper insights into Mews concepts, see [Concepts](concepts/README.md). For specific scenarios, see [Use cases](use-cases/README.md).
912

10-
To fully implement the functionality of the API, you will need to not only make requests to Mews through defined endpoints on the Mews side, but also create your own endpoints to accept data from Mews on the Channel Manager side.
11-
12-
For a full guide on how to connect, what authentication tokens you need, the meaning of error codes and much more, see our [Guidelines](guidelines/README.md). For a deeper understanding of **Mews** concepts, see [Concepts](concepts/README.md).
13-
14-
If you encounter any issues using the API, or you have any questions, please get in touch via [[email protected]](mailto:[email protected]).
13+
If you have any questions or encounter issues, reach out to us at [[email protected]](mailto:[email protected]).
1514

1615
> ### Changes to this API
17-
> * For the history of changes to the API, see the [Changelog](changelog/README.md)
18-
> * For important information on deprecations, see [Deprecations](deprecations/README.md)
19-
> * To track changes and updates, you can follow the [GitHub repository](https://github.com/MewsSystems/gitbook-channel-manager-api/tree/master)
16+
> * For the history of changes, see the [Changelog](changelog/README.md).
17+
> * For important information on deprecations, see [Deprecations](deprecations/README.md).
18+
> * To track changes and updates, follow the [GitHub repository](https://github.com/MewsSystems/gitbook-channel-manager-api/tree/master).

SUMMARY.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
# Table of contents
22

33
* [Mews Channel Manager API](README.md)
4-
* [Guidelines](guidelines/README.md)
4+
* [Usage guidelines](guidelines/README.md)
5+
* [Authentication](guidelines/authentication.md)
56
* [Requests](guidelines/requests.md)
67
* [Responses](guidelines/responses.md)
8+
* [Environments](guidelines/environments.md)
9+
* [Compliance](guidelines/compliance.md)
710
* [Concepts](concepts/README.md)
811
* [Restrictions](concepts/restrictions.md)
9-
* [Mews side](mews-operations/README.md)
10-
* [API Operations (Mews)](mews-operations/operations.md)
11-
* [Configuration](mews-operations/configuration.md)
12-
* [Availability blocks](mews-operations/availabilityBlock.md)
13-
* [Inventory](mews-operations/inventory.md)
14-
* [Reservations](mews-operations/reservations.md)
15-
* [Channel Manager side](channel-manager-operations/README.md)
16-
* [API Operations (CHM)](channel-manager-operations/operations.md)
17-
* [Availability blocks](channel-manager-operations/availabilityBlock.md)
18-
* [Inventory](channel-manager-operations/inventory.md)
19-
* [Reservations](channel-manager-operations/reservations.md)
20-
* [Notifications](channel-manager-operations/notifications.md)
12+
* [Use cases](use-cases/README.md)
13+
* [Channels](use-cases/channels.md)
14+
* [Inventory updates](use-cases/inventory-updates.md)
15+
* [API Operations (Mews)](mews-operations/README.md)
16+
* [Configuration](mews-operations/configuration.md)
17+
* [Availability blocks](mews-operations/availabilityBlock.md)
18+
* [Inventory](mews-operations/inventory.md)
19+
* [Reservations](mews-operations/reservations.md)
20+
* [API Operations (CHM)](channel-manager-operations/README.md)
21+
* [Availability blocks](channel-manager-operations/availabilityBlock.md)
22+
* [Inventory](channel-manager-operations/inventory.md)
23+
* [Reservations](channel-manager-operations/reservations.md)
24+
* [Notifications](channel-manager-operations/notifications.md)
2125
* [Your integration journey](your-journey/README.md)
2226
* [Certification](your-journey/certification.md)
2327
* [Certification tests](your-journey/certification-tests.md)

changelog/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 13th December 2024
4+
5+
* Refresh of entire site. Documentation-only, no changes to API.
6+
37
## 7th November 2024
48

59
* [Mews: Process group](../mews-operations/reservations.md#process-group) – added recommended limit of 100 reservations per group. Documentation-only.
@@ -28,7 +32,7 @@
2832

2933
## 2nd Oct 2024
3034

31-
* Updated [Guidelines](../guidelines/README.md#channels) to advise how to add new sales channels or sources through the API. Documentation-only.
35+
* Updated [Usage guidelines](../guidelines/README.md#channels) to advise how to add new sales channels or sources through the API. Documentation-only.
3236

3337
## 11th September 2024
3438

@@ -63,16 +67,16 @@
6367

6468
## 11th April 2024
6569

66-
* Added loyalty info to Request in [Channel manager API Operations: Process Availability block](../channel-manager-operations/availabilityBlock.md#availability-block).
70+
* Added loyalty info to Request in [CHM: Process Availability block](../channel-manager-operations/availabilityBlock.md#availability-block).
6771

6872
## 26th March 2024
6973

7074
* Minor changes to highlight the need for re-certification when replacing deprecated features, see [Deprecations](../deprecations/README.md) (documentation only)
7175

7276
## 9th January 2024
7377

74-
* Added [Age Category Code](../mews-operations/reservations.md#age-category-code) in [Mews API Operations: Process Group](../mews-operations/reservations.md#process-group) (documentation only).
75-
* Added explanations to [Mews API Operations: Process Group](../mews-operations/reservations.md#process-group) for the consequences of using negative extra product amounts (documentation only).
78+
* Added [Age Category Code](../mews-operations/reservations.md#age-category-code) in [Mews: Process Group](../mews-operations/reservations.md#process-group) (documentation only).
79+
* Added explanations to [Mews: Process Group](../mews-operations/reservations.md#process-group) for the consequences of using negative extra product amounts (documentation only).
7680

7781
| Changelog by year |
7882
| :-- |

channel-manager-operations/README.md

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
1-
# Channel Manager side
1+
# API Operations (CHM)
22

3-
This section describes the Channel Manager side of the Channel Manager API, i.e. API Operations hosted by the Channel Manager.
4-
The Channel Manager side receives requests from Mews, including inventory updates \(prices, availability and restrictions\) and booking confirmations.
3+
This section describes the Channel Manager side of the __Mews Channel Manager API__, i.e. API Operations hosted by the Channel Manager. The Channel Manager side receives requests from Mews, including inventory updates \(prices, availability and restrictions\) and booking confirmations. The list of supported operations is as follows, organised here by theme.
4+
5+
> ### Inventory update modes
6+
> Mews pushes inventory to the Channel Manager side in one of two modes, both using the same API Operations, either **Full Inventory Update Mode** or **Delta Inventory Update Mode**.
7+
> For more information, see [Use cases > Inventory updates](../use-cases/inventory-updates.md).
58
6-
## Environments
9+
## Inventory
710

8-
Similarly to the Mews side, there should be two environments with different `clientTokens`.
9-
The test/development environment will be used to verify the connection by Mews before connecting to the live/production environment.
11+
| <div style="width:200px">Operation</div> | Description |
12+
| :-- | :-- |
13+
| [Update prices](inventory.md#update-prices) | This method is used when Mews updates prices of rate plans |
14+
| [Update availability](inventory.md#update-availability) | This method is used when Mews updates availability of space types |
15+
| [Update restrictions](inventory.md#update-restrictions) | This method is used when Mews updates restrictions |
16+
| [Process availability block](availabilityBlock.md) | This method is used when Mews sends availability blocks |
1017

11-
## Inventory Update Modes
18+
## Reservations
1219

13-
Mews sends Inventory in two modes, both modes use the same API messages.
20+
| <div style="width:200px">Operation</div> | Description |
21+
| :-- | :-- |
22+
| [Process group](reservations.md#process-group) | \[`async`\] Process a group of reservations, which can be new bookings, modifications or cancellations. |
23+
| [Confirm booking](reservations.md#confirm-booking) | This method is used when Mews confirms a booking sent via [Process group](../mews-operations/reservations.md#process-group) |
1424

15-
### Full Inventory Update Mode
25+
## Notifications
1626

17-
You can request an Inventory update for some specified time period via API operation [Request ARI update](../mews-operations/inventory.md#request-ari-update).
18-
Alternatively, a property employee can use this mode to push the latest data manually.
19-
Data sent in this mode is always for **all** connected rate plans and space types combinations.
20-
21-
### Delta Inventory Update Mode
22-
23-
Mews automatically sends changes in Inventory \(once connection is set up\). Data sent in this mode is just the changed data from the last update.
24-
This is a completely automated process and there is no way to trigger just the delta update to be sent.
25-
Delta inventory updates are sent repeatedly until they are successfully accepted by the channel manager.
27+
| <div style="width:200px">Operation</div> | Description |
28+
| :-- | :-- |
29+
| [Change notification](notifications.md#change-notification) | This operation is used by Mews to notify the channel manager when there is a change in the connection configuration |

channel-manager-operations/operations.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

concepts/restrictions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Restrictions in the Mews application have a number of parameters:
3333
3434
## Restrictions in the API
3535

36-
In the **Mews Channel Manager API**, the channel manager side must support an endpoint for Mews to push restrictions to the channel manager, this is [Update restrictions](../channel-manager-operations/inventory.md#update-restrictions). Note there is no operation to add or delete restrictions, everything is done through Update restrictions. Thus any existing restrictions with the same scope and time period are overridden by the updated restrictions.
36+
In the **Mews Channel Manager API**, the channel manager side must support an endpoint for Mews to push restrictions to the channel manager, this is [CHM: Update restrictions](../channel-manager-operations/inventory.md#update-restrictions). Note there is no operation to add or delete restrictions, everything is done through Update restrictions. Thus any existing restrictions with the same scope and time period are overridden by the updated restrictions.
3737

3838
| <div style="width:350px">'How to' use case</div> | API Operations |
3939
| :-- | :-- |

deprecations/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ The table columns have the following meanings:
2525
| Feature | Comments | Deprecated | Discontinued |
2626
| :-- | :-- | :-- | :-- |
2727
| `loyaltyCode` in [Customer](../mews-operations/reservations.md#customer) object in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `loyaltyInfo` | 4 Nov 2024 | - |
28-
| `releasedDate` in [CHM: Dates](../channel-manager-operations/availabilityBlock.md#dates) object in [CHM: Availability block](../channel-manager-operations/availabilityBlock.md#availability-block) | Replaced by `fixedDate` in [`Release strategy`](../mews-operations/availabilityBlock.md#release-strategy) of [`Availability block`](../channel-manager-operations/availabilityBlock.md#availability-block) | 11 Oct 2024 | - |
28+
| `releasedDate` in [Dates](../channel-manager-operations/availabilityBlock.md#dates) object in [CHM: Availability block](../channel-manager-operations/availabilityBlock.md#availability-block) | Replaced by `fixedDate` in [`Release strategy`](../mews-operations/availabilityBlock.md#release-strategy) of [`Availability block`](../channel-manager-operations/availabilityBlock.md#availability-block) | 11 Oct 2024 | - |
2929
| `error` in [Synchronous error response](../guidelines/responses.md#synchronous-error-response) | Replaced by `errors` (plural and an `array`) | 15 May 2024 | - |
3030
| `paymentType` in [`RatePlan`](../mews-operations/configuration.md#rate-plan) returned by [Mews: Get configuration](../mews-operations/configuration.md#get-configuration) | May yield incorrect value. More info below (\*1). | 16 May 2024 | - |
31-
| `channel` in [Process group](../mews-operations/reservations.md#process-group) | Replaced by `sources` | 26 Sep 2022 | - |
32-
| `iata` in [Company](../mews-operations/reservations.md#company) in [Process group](../mews-operations/reservations.md#process-group) | Replaced by `iata` in the [Travel Agency](../mews-operations/reservations.md#travel-agency) object | 26 Sep 2022 | - |
33-
| `adultCount` and `childCount` in [`Reservation`](../mews-operations/reservations.md#reservation) object in [Process group](../mews-operations/reservations.md#process-group) | Replaced by `guestCounts`; **Requires re-certification** | 29 Apr 2022 | - |
34-
| `code` in [`Payment card`](../mews-operations/reservations.md#payment-card) object in [Process group](../mews-operations/reservations.md#process-group) | Replaced by `type` | 08 Mar 2018 | End Apr 2018 |
31+
| `channel` in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `sources` | 26 Sep 2022 | - |
32+
| `iata` in [Company](../mews-operations/reservations.md#company) in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `iata` in the [Travel Agency](../mews-operations/reservations.md#travel-agency) object | 26 Sep 2022 | - |
33+
| `adultCount` and `childCount` in [`Reservation`](../mews-operations/reservations.md#reservation) object in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `guestCounts`; **Requires re-certification** | 29 Apr 2022 | - |
34+
| `code` in [`Payment card`](../mews-operations/reservations.md#payment-card) object in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `type` | 08 Mar 2018 | End Apr 2018 |
3535
| `accessToken` in all API calls on both Mews side and CHM side | Replaced by `clientToken` | 10 Jan 2018 | End Mar 2018 |
3636
| `connectionCode` in all API calls on both Mews side and CHM side | Replaced by `connectionToken` | 10 Jan 2018 | End Mar 2018 |
37-
| `code` in [`Connection Info`](../mews-operations/configuration.md#connection-info) object in [Get properties](../mews-operations/configuration.md#get-properties) | Replaced by `token` | 10 Jan 2018 | End Mar 2018 |
38-
| `distributor` in [`Reservation`](../mews-operations/reservations.md#reservation) object in [Process group](../mews-operations/reservations.md#process-group) | Replaced by `channel` | 10 Jan 2018 | End Mar 2018 |
37+
| `code` in [`Connection Info`](../mews-operations/configuration.md#connection-info) object in [Mews: Get properties](../mews-operations/configuration.md#get-properties) | Replaced by `token` | 10 Jan 2018 | End Mar 2018 |
38+
| `distributor` in [`Reservation`](../mews-operations/reservations.md#reservation) object in [Mews: Process group](../mews-operations/reservations.md#process-group) | Replaced by `channel` | 10 Jan 2018 | End Mar 2018 |
3939

4040
> **(\*1) paymentType**: We are introducing enhancements that elevate settlement rules to the enterprise level, allowing them to be assigned either to a rate group or directly to a rate. Due to the complex nature of settlement rules, which can vary within a rate group, `paymentType` is now obsolete as the value may vary depending on reservation dates, which can't be reflected in this field.
4141

0 commit comments

Comments
 (0)