Create Booking (V1)
lodgify_create_bookingCreate a new booking programmatically with property, room type, dates, and guest details; attach a rate-plan quote so totals and payment links work.
Instructions
[Booking & Reservation Management] Create a new booking in the system. This v1 endpoint provides direct booking creation functionality that is not available in v2. Essential for programmatic booking creation and channel management.
REQUIRED FIELDS:
property_id: Property ID (use lodgify_list_properties to find valid IDs)
room_type_id: Room type ID (use lodgify_list_property_rooms to find valid room IDs for the property)
arrival: Check-in date (YYYY-MM-DD format)
departure: Check-out date (YYYY-MM-DD format)
guest_name: Primary guest name
adults: Number of adult guests (minimum 1)
OPTIONAL FIELDS:
guest_email: Guest email address (recommended)
guest_phone: Guest phone number
children: Number of children (default: 0)
infants: Number of infants
status: Booking status (booked, tentative, declined, confirmed)
source: Booking source/channel
notes: Internal notes or special requests
attach_quote: attach a Lodgify rate-plan quote after creating (default true, see below)
promotion_code, is_policy_active, expected_total: passed to the quote (see lodgify_create_booking_quote)
PRICING: Lodgify has no way to set a custom price on a quote. By default this tool creates the booking and then attaches a quote priced from the rate plans, so the booking gets real subtotals and payment links work. Passing total skips Lodgify's calculation and leaves the booking WITHOUT a quote (attach_quote defaults to false); attaching one afterwards replaces that total with the rate-plan price, so total together with attach_quote:true is rejected. The result is "partial" when the quote or the status change failed, with the reason.
Input Format: Accepts simple flat parameters (user-friendly) API Transform: Automatically transforms to nested structure required by Lodgify API
Example MCP Tool Input (flat structure): { "property_id": 684855, // Property ID for the booking "room_type_id": 751902, // Room type ID (required - use lodgify_list_property_rooms to find valid IDs) "arrival": "2025-08-27", // Arrival date (YYYY-MM-DD) "departure": "2025-08-28", // Departure date (YYYY-MM-DD) "guest_name": "Test Guest", // Primary guest name "guest_email": "test@example.com", // Guest email address "adults": 2, // Number of adult guests "children": 0, // Number of children "status": "booked", // Booking status "source": "Direct Website" // Booking source or channel }
This gets automatically transformed to the nested API structure: { "property_id": 684855, "arrival": "2025-08-27", "departure": "2025-08-28", "guest": { "guest_name": {"first_name": "Test", "last_name": "Guest"}, "email": "test@example.com" }, "rooms": [{"room_type_id": 751902, "guest_breakdown": {"adults": 2, "children": 0}}], "status": "Booked", "source_text": "Direct Website" }
The transformation handles: guest name splitting, room structuring, status capitalization, and field mapping.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "<property_id>",
"room_type_id": "<room_type_id>",
"arrival": "<arrival>",
"departure": "<departure>",
"guest_name": "<guest_name>",
"adults": "<adults>"
},
"name": "lodgify_create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Internal notes or special requests | |
| total | No | Override Lodgify rate-plan total. When provided, the booking is created with this exact total instead of being recalculated from rate plans. | |
| adults | Yes | Number of adult guests | |
| source | No | Booking source or channel | |
| status | No | Booking status | |
| arrival | Yes | Arrival date (YYYY-MM-DD) | |
| infants | No | Number of infants | |
| children | No | Number of children | |
| departure | Yes | Departure date (YYYY-MM-DD) | |
| guest_name | Yes | Primary guest name | |
| bookability | No | Booking flow Lodgify should treat this reservation as. Defaults to EnquiryOnly server-side; pass "InstantBooking" for fully confirmed reservations so the dashboard renders per-unit totals. | |
| guest_email | No | Guest email address | |
| guest_phone | No | Guest phone number | |
| property_id | Yes | Property ID for the booking | |
| attach_quote | No | Attach a Lodgify rate-plan quote after creating the booking. Default: true, except for tentative/declined bookings and when total is given. Without a quote the booking has all-zero subtotals and payment links fail. | |
| room_type_id | Yes | Room type ID (required - use lodgify_list_property_rooms to find valid IDs) | |
| currency_code | No | ISO currency code for the override total (e.g. USD, EUR). Required when total is set. | |
| expected_total | No | Agreed total; the result warns when the Lodgify quote differs | |
| promotion_code | No | Lodgify promotion code to apply to the quote (needs attach_quote) | |
| is_policy_active | No | Quote with the rate policy. Default false: true moves the booking to Tentative and blocks payment links. |