Skip to content

Commit b02a0fa

Browse files
Merge pull request #202 from MewsSystems/CON5602_Booker_profiles_documentation
Con5602-Booker profiles Documentation
2 parents bc89e1b + 6bb42a6 commit b02a0fa

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

changelog/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 17th March 2025
4+
* [Mews: Process group](../mews-operations/reservations.md#process-group):
5+
* Extended request object with new `booker` property.
6+
37
## 12th March 2024
48

59
* [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)