Skip to content

Commit 79c0a52

Browse files
Merge branch 'master' into certification-update
2 parents 8758922 + b02a0fa commit 79c0a52

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

changelog/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
* Improvements to [Your integration journey](../your-journey/README.md) and [Certification](../your-journey/certification.md) pages. Documentation-only, no changes to API.
66

7+
## 17th March 2025
8+
9+
* [Mews: Process group](../mews-operations/reservations.md#process-group):
10+
* Extended request object with new `booker` property.
11+
712
## 12th March 2024
813

914
* [Mews: Process availability block](../mews-operations/availabilityBlock.md#process-availability-block):

mews-operations/reservations.md

+29-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The example shows a valid group definition with two space reservations plus canc
3131
The first `reservation` definition shows all details, the second `reservation` definition shows the minimal required details for creation / modification of a `reservation`.
3232
The third `reservation` definition shows the partial cancellation - canceling the third space reservation.
3333

34-
```javascript
34+
```json
3535
{
3636
"clientToken": "[Channel manager client token]",
3737
"connectionToken": "[Token of a concrete connection]",
@@ -69,6 +69,31 @@ The third `reservation` definition shows the partial cancellation - canceling th
6969
"tierCode": "Gold"
7070
}
7171
},
72+
"booker": {
73+
"address": {
74+
"addressLine1": "line 1",
75+
"addressLine2": "line 2",
76+
"city": "city2",
77+
"country": "US",
78+
"latitude": 40,
79+
"longitude": 30,
80+
"region": "region2",
81+
"zip": "123 45"
82+
},
83+
"email": "[email protected]",
84+
"firstName": "adam",
85+
"lastName": "Arnold",
86+
"title": "Mister",
87+
"nationalityCode": "US",
88+
"languageCode": "en-US",
89+
"telephone": "1-5526-88918",
90+
"loyaltyCode": "PG60982345",
91+
"loyaltyInfo": {
92+
"membershipId": "PG60972345",
93+
"programCode": "BWR",
94+
"tierCode": "Gold"
95+
}
96+
},
7297
"sources": [
7398
{
7499
"code": 1,
@@ -249,7 +274,8 @@ The third `reservation` definition shows the partial cancellation - canceling th
249274
| `currencyCode` | `string` | required \(exc. Cancellation\) | 3 letter code of currency of all prices within the booking. |
250275
| `totalAmount` | [`Amount`](#amount) object | required \(exc. Cancellation\) | Total amount of the whole booking. |
251276
| `paymentType` | `int` | required \(exc. Cancellation\) | [Payment Type](configuration.md#payment-types) code - determines whether the booking is prepaid or not. |
252-
| `customer` | [`Customer`](#customer) object | required \(exc. Cancellation\) | Represents the main booker. Does not necessarily mean that the person arrives to the property. |
277+
| `booker` | [`Customer`](#customer) object | optional | The person who booked the reservation, in case this is different to the main Customer. |
278+
| `customer` | [`Customer`](#customer) object | required \(exc. Cancellation\) | The customer who owns the reservation, i.e. the main guest linked to the reservation. |
253279
| `paymentCard` | [`Payment Card`](#payment-card) object | optional | Represents the payment card of the [`Customer`](#customer) to cover for the booking. |
254280
| ~~`channel`~~ | ~~[`Channel`](#channel) object~~ | ~~optional~~ | ~~Represents the channel \(i.e. Travel Agency\).~~ **[Deprecated!](../deprecations/README.md)** |
255281
| `sources` | [`Source`](#source) collection | optional | Represents the sources for the booking. |
@@ -484,7 +510,7 @@ Confirmation will be sent asynchronously using the [Confirm booking](../channel-
484510

485511
`[PlatformAddress]/api/channelManager/v1/processGroupConfirmation`
486512

487-
```javascript
513+
```json
488514
{
489515
"clientToken": "[Channel manager client token]",
490516
"connectionToken": "[Token of a concrete connection]",

0 commit comments

Comments
 (0)