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
+28-2Lines changed: 28 additions & 2 deletions
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,6 +274,7 @@ 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. |
277
+
|`booker`|[`Customer`](#customer) object | optional | Represents the main booker. Does not necessarily mean that the person arrives to the property. |
252
278
|`customer`|[`Customer`](#customer) object | required \(exc. Cancellation\)| Represents the main booker. Does not necessarily mean that the person arrives to the property. |
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)**|
@@ -484,7 +510,7 @@ Confirmation will be sent asynchronously using the [Confirm booking](../channel-
0 commit comments