addReservation
Create a new reservation with specified details, including customer ID, service ID, rate plan, check-in/out times, space category, and optional notes or voucher codes, via the Mews hospitality platform API.
Instructions
Adds a new reservation with the specified details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| AdultCount | No | Number of adults | |
| BookingChannel | No | Channel for booking | |
| ChildCount | No | Number of children | |
| CustomerId | No | Customer ID for the reservation | |
| EndUtc | Yes | Check-out date/time (ISO 8601) | |
| Notes | No | Reservation notes | |
| RatePlanId | Yes | Rate plan ID | |
| ServiceId | Yes | Service ID | |
| SpaceCategoryId | No | Space category ID | |
| StartUtc | Yes | Check-in date/time (ISO 8601) | |
| VoucherCode | No | Discount voucher code |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"AdultCount": {
"description": "Number of adults",
"type": "number"
},
"BookingChannel": {
"description": "Channel for booking",
"type": "string"
},
"ChildCount": {
"description": "Number of children",
"type": "number"
},
"CustomerId": {
"description": "Customer ID for the reservation",
"type": "string"
},
"EndUtc": {
"description": "Check-out date/time (ISO 8601)",
"type": "string"
},
"Notes": {
"description": "Reservation notes",
"type": "string"
},
"RatePlanId": {
"description": "Rate plan ID",
"type": "string"
},
"ServiceId": {
"description": "Service ID",
"type": "string"
},
"SpaceCategoryId": {
"description": "Space category ID",
"type": "string"
},
"StartUtc": {
"description": "Check-in date/time (ISO 8601)",
"type": "string"
},
"VoucherCode": {
"description": "Discount voucher code",
"type": "string"
}
},
"required": [
"ServiceId",
"RatePlanId",
"StartUtc",
"EndUtc"
],
"type": "object"
}