You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mews-operations/reservations.md
+29-3
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The example shows a valid group definition with two space reservations plus canc
31
31
The first `reservation` definition shows all details, the second `reservation` definition shows the minimal required details for creation / modification of a `reservation`.
32
32
The third `reservation` definition shows the partial cancellation - canceling the third space reservation.
33
33
34
-
```javascript
34
+
```json
35
35
{
36
36
"clientToken": "[Channel manager client token]",
37
37
"connectionToken": "[Token of a concrete connection]",
@@ -69,6 +69,31 @@ The third `reservation` definition shows the partial cancellation - canceling th
@@ -249,7 +274,8 @@ The third `reservation` definition shows the partial cancellation - canceling th
249
274
|`currencyCode`|`string`| required \(exc. Cancellation\)| 3 letter code of currency of all prices within the booking. |
250
275
|`totalAmount`|[`Amount`](#amount) object | required \(exc. Cancellation\)| Total amount of the whole booking. |
251
276
|`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. |
253
279
|`paymentCard`|[`Payment Card`](#payment-card) object | optional | Represents the payment card of the [`Customer`](#customer) to cover for the booking. |
254
280
|~~`channel`~~|~~[`Channel`](#channel) object~~|~~optional~~|~~Represents the channel \(i.e. Travel Agency\).~~**[Deprecated!](../deprecations/README.md)**|
255
281
|`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-
0 commit comments