Create a reservation
smoobu_create_reservationCreate a reservation (or a blocked period) on a property. Smoobu treats it like a booking from a channel and SYNCS the blocked dates to every connected channel (Airbnb, Booking.com, ...). Fails if the dates overlap an existing booking. This server offers no cancel — cancel it in Smoobu if needed. Which guest fields are mandatory depends on your booking-tool 'Form Content' settings. Smoobu: POST /api/reservations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Guest email. | ||
| phone | No | Guest phone. | |
| price | No | Total price of the booking. | |
| adults | No | Number of adults. | |
| notice | No | Free-text notes on the booking. | |
| address | No | Guest address. | |
| country | No | Guest country. | |
| deposit | No | Deposit amount. | |
| children | No | Number of children. | |
| language | No | Guest language, e.g. en, de, es. | |
| last_name | No | Guest last name. | |
| channel_id | No | Channel id (defaults to 70). Must be a channel the account has, e.g. 13 = Direct booking, 11 = Blocked channel. | |
| first_name | No | Guest first name. | |
| prepayment | No | Prepayment amount. | |
| apartment_id | Yes | The property id. | |
| arrival_date | Yes | Arrival date (yyyy-mm-dd). | |
| arrival_time | No | Arrival time (HH:mm, 24h). | |
| price_status | No | Price status: 0 = open / not paid, 1 = paid in full. | |
| departure_date | Yes | Departure date (yyyy-mm-dd). | |
| departure_time | No | Departure time (HH:mm, 24h). | |
| deposit_status | No | Deposit status: 0 = open / not paid, 1 = paid in full. | |
| price_elements | No | Optional price breakdown (base price, cleaning fee, ...). | |
| prepayment_status | No | Prepayment status: 0 = open / not paid, 1 = paid in full. |