Create Quote for Booking
lodgify_create_booking_quoteAttach a Lodgify quote to an existing booking, replacing its total with pricing built from the property's rate plans. Optionally apply a promotion code or verify an agreed total.
Instructions
[Rates & Pricing] Attach a quote to an existing booking. Lodgify builds the quote from the property's RATE PLANS and replaces the booking's total with it. The API cannot take a custom total, breakdown, notes or expiry, and this tool rejects those fields.
⚠️ WRITE operation. Blocked in read-only mode. A second call replaces the booking's quote.
What the result contains (read back from Lodgify, never copied from the input): quote id, quote status, policy name, total, currency, price lines (RoomRate, Promotion, Tax, Fee) and the booking status.
is_policy_active (default false):
false: quote without a payment policy (status NotScheduled). The booking keeps its status and lodgify_create_booking_payment_link works.
true: attaches the rate policy and a payment schedule, but Lodgify then moves the booking to Tentative, leaves the quote NotSent and refuses payment links until someone sends the quote from the Lodgify dashboard.
promotion_code: applies a Lodgify promotion. Lodgify silently ignores unknown codes, so check the returned price lines for a Promotion line (the tool warns when it is missing).
expected_total: optional. When Lodgify's total differs, the result is "partial" with a warning. Use it whenever a price was agreed with the guest.
room_types: optional [{room_type_id, custom_fee_amount}]. custom_fee_amount adds a flat Fee line on top of the room rate (it does not set the room rate). Leave it out normally; Lodgify uses all rooms of the booking.
Example: { "bookingId": 24415718, "is_policy_active": false, "promotion_code": "DIRECT10", "expected_total": 662.09 }
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": {
"bookingId": "<bookingId>"
},
"name": "lodgify_create_booking_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| add_ons | No | Add-ons to include | |
| payload | No | ||
| currency | No | ||
| policyId | No | ||
| subtotal | No | ||
| bookingId | Yes | Booking ID to create the quote for | |
| breakdown | No | ||
| room_types | No | Room types to quote; defaults to all rooms of the booking | |
| totalPrice | No | ||
| validUntil | No | ||
| adjustments | No | ||
| customTerms | No | ||
| sendToGuest | No | ||
| expected_total | No | Agreed total; the result warns when Lodgify prices the stay differently | |
| promotion_code | No | Lodgify promotion code to apply | |
| replaceExisting | No | ||
| is_policy_active | No | Attach the rate policy. true moves the booking to Tentative and blocks payment links. | |
| rentalAgreementId | No |