Beds24 MCP by usefulapi
Check bookings, quote stays, read guest messages and reviews, and update calendars in Beds24.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin beds24_list_booking_com_reviews
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"beds24": {
"url": "https://beds24.usefulapi.io/mcp"
}
}
}Remote-Endpunkte
https://beds24.usefulapi.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (18)
🟢beds24_get_token_details
Check the configured Beds24 token: whether it is valid, its scopes, owner id, expiry, and whether it is restricted to one property. A cheap way to confirm setup and see which scopes are granted. Note Beds24 answers HTTP 200 with validToken=false for a bad token. Beds24: GET /authentication/details.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_properties(propertyIds, roomIds, includeAllRooms, includeUnitDetails, includeOffers, ...)
List the properties in the account with their address, currency, check-in times and room types (roomTypes). Optional flags include texts, pictures, offers, unit details and all rooms. Requires the properties scope. Beds24: GET /properties.
Eingabe-Schema
{
"type": "object",
"properties": {
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"includeAllRooms": {
"description": "Include every room type of each property.",
"type": "boolean"
},
"includeUnitDetails": {
"description": "Include full unit details (by default only unit names).",
"type": "boolean"
},
"includeOffers": {
"description": "Include offers per room.",
"type": "boolean"
},
"includePictures": {
"type": "boolean"
},
"includePriceRules": {
"type": "boolean"
},
"includeUpsellItems": {
"type": "boolean"
},
"includeTexts": {
"description": "Which descriptive texts to include.",
"type": "array",
"items": {
"type": "string",
"enum": [
"all",
"property",
"roomType"
]
}
},
"includeLanguages": {
"description": "Languages for texts, e.g. [\"en\"] or [\"all\"].",
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 3
}
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_bookings(filter, propertyIds, roomIds, bookingIds, masterIds, ...)
Search bookings by arrival/departure date range, booking or modified time, property, room, channel, status, or a free-text search over guest name, email, booking id and API reference. With NO filters Beds24 returns only upcoming bookings. `filter` shortcuts: arrivals (arriving today), departures (departing today), new (created in the last 24h), current (in-house). Guest data needs the bookings-personal scope, invoice items bookings-financial. Beds24: GET /bookings.
Eingabe-Schema
{
"type": "object",
"properties": {
"filter": {
"type": "string",
"enum": [
"arrivals",
"departures",
"new",
"current"
]
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"bookingIds": {
"description": "One or more booking ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"masterIds": {
"description": "One or more group master booking ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"apiReferences": {
"description": "Channel / API references.",
"minItems": 1,
"type": "array",
"items": {
"type": "string"
}
},
"channel": {
"description": "Only bookings from this channel.",
"type": "string",
"enum": [
"agoda",
"airbnb",
"asiatravel",
"atraveode",
"booking",
"bookingpage",
"despegar",
"direct",
"edreamsodigeo",
"expedia",
"feratel",
"goibibo",
"hometogo",
"hostelworld",
"hotelbeds",
"hrs",
"jomres",
"marriott",
"ostrovokru",
"ota",
"tiket",
"tomastravel",
"traveloka",
"travia",
"traum",
"trip",
"tripadvisorrentals",
"vacationstay",
"vrbo",
"airbnbical",
"bedandbreakfasteu",
"bedandbreakfastnl",
"bookeasycomau",
"bookitconz",
"flipkey",
"googlecal",
"googleads",
"guestlinkcouk",
"holidaylettingscouk",
"hostelinternational",
"hostelsclub",
"housetripcom",
"icalimport1",
"icalimport2",
"icalimport3",
"lastminute",
"nzaa",
"reserva",
"rezintelnet",
"tablethotels",
"traumferienwohnungen",
"trivagocom",
"visitscotlandcom",
"vrboical",
"webroomsconz"
]
},
"status": {
"description": "Statuses to include. Defaults to all except cancelled.",
"type": "array",
"items": {
"type": "string",
"enum": [
"confirmed",
"request",
"new",
"cancelled",
"black",
"inquiry"
]
}
},
"arrival": {
"description": "Exact arrival date.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"arrivalFrom": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date, YYYY-MM-DD."
},
"arrivalTo": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date, YYYY-MM-DD."
},
"departure": {
"description": "Exact departure date.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"departureFrom": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date, YYYY-MM-DD."
},
"departureTo": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date, YYYY-MM-DD."
},
"bookingTimeFrom": {
"description": "Booked after this time (UTC).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"
},
"bookingTimeTo": {
"description": "Booked before this time (UTC).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"
},
"modifiedFrom": {
"description": "Modified after this time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"
},
"modifiedTo": {
"description": "Modified before this time.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"
},
"searchString": {
"description": "Matches guest name, email, apiReference or booking id.",
"type": "string"
},
"includeInvoiceItems": {
"type": "boolean"
},
"includeInfoItems": {
"type": "boolean"
},
"includeGuests": {
"description": "Include additional guests (bookings-personal scope).",
"type": "boolean"
},
"includeBookingGroup": {
"type": "boolean"
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_get_booking(bookingId)
Fetch one booking by id with its invoice items, info items and additional guests. Works for any status, including cancelled. Beds24: GET /bookings?id=<id>.
Eingabe-Schema
{
"type": "object",
"properties": {
"bookingId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The booking id."
}
},
"required": [
"bookingId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_booking_messages(bookingIds, masterIds, propertyIds, roomIds, messageIds, ...)
Read the guest conversation on bookings — messages from guests, host replies, internal notes and system messages — across channels (Airbnb, Booking.com, Vrbo, direct). Filter by booking, property, room, read/unread, source and age. Beds24: GET /bookings/messages.
Eingabe-Schema
{
"type": "object",
"properties": {
"bookingIds": {
"description": "One or more booking ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"masterIds": {
"description": "One or more group master booking ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"messageIds": {
"description": "One or more message ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"filter": {
"type": "string",
"enum": [
"read",
"unread"
]
},
"source": {
"description": "Only messages from one side.",
"type": "string",
"enum": [
"host",
"guest",
"internalNote",
"system"
]
},
"maxAge": {
"description": "Only messages from the last N days.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_booking_invoices(bookingIds, page)
List invoices and their line items (charges and payments) for bookings. Requires the bookings-financial scope. Beds24 marks this endpoint Alpha. Beds24: GET /bookings/invoices.
Eingabe-Schema
{
"type": "object",
"properties": {
"bookingIds": {
"description": "One or more booking ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_get_room_offers(arrival, departure, numAdults, numChildren, propertyIds, ...)
Quote a stay: bookable offers with total price and units available per room for given dates and guests. Use before creating a booking. Beds24: GET /inventory/rooms/offers.
Eingabe-Schema
{
"type": "object",
"properties": {
"arrival": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Arrival date, YYYY-MM-DD."
},
"departure": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Departure date, YYYY-MM-DD."
},
"numAdults": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "Number of adults."
},
"numChildren": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"offerIds": {
"description": "One or more offer ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"includeTexts": {
"description": "Include descriptive texts in these 2-letter languages, e.g. [\"en\"].",
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 2
}
},
"agentCode": {
"type": "string"
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"arrival",
"departure",
"numAdults"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_get_room_availability(startDate, endDate, propertyIds, roomIds, page)
Per-date availability (true/false) for rooms over a range of nights. endDate is the LAST NIGHT (the day before check-out). Beds24: GET /inventory/rooms/availability.
Eingabe-Schema
{
"type": "object",
"properties": {
"startDate": {
"description": "First night, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"endDate": {
"description": "Last night (day before check-out), YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_get_unit_bookings(startDate, endDate, propertyIds, roomIds, page)
Which units of each room type are booked on each date — an occupancy grid keyed by date. endDate is the last night. Beds24 marks this endpoint Beta. Beds24: GET /inventory/rooms/unitBookings.
Eingabe-Schema
{
"type": "object",
"properties": {
"startDate": {
"description": "First night, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"endDate": {
"description": "Last night, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_get_room_calendar(startDate, endDate, propertyIds, roomIds, includeNumAvail, ...)
Per-day calendar values for rooms: units available, min/max stay, multiplier, override (blackout, no check-in, ...) and the price slots price1..price16, as date ranges. Choose fields with the include flags; if none are set this tool asks for numAvail, minStay, maxStay, override and prices. Beds24: GET /inventory/rooms/calendar.
Eingabe-Schema
{
"type": "object",
"properties": {
"startDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD."
},
"endDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, YYYY-MM-DD."
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"includeNumAvail": {
"type": "boolean"
},
"includeMinStay": {
"type": "boolean"
},
"includeMaxStay": {
"type": "boolean"
},
"includeMultiplier": {
"type": "boolean"
},
"includeOverride": {
"type": "boolean"
},
"includePrices": {
"type": "boolean"
},
"includeLinkedPrices": {
"type": "boolean"
},
"includeChannels": {
"description": "Include per-channel booking limits.",
"type": "boolean"
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"startDate",
"endDate"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_fixed_prices(fixedPriceIds, propertyIds, roomIds, includeRateCodes, page)
List fixed price rules (seasonal rates): date span, min/max nights, per-room and per-person prices, discounts, allowed arrival days and channel export. Beds24: GET /inventory/fixedPrices.
Eingabe-Schema
{
"type": "object",
"properties": {
"fixedPriceIds": {
"description": "One or more fixed price ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"propertyIds": {
"description": "One or more property ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"roomIds": {
"description": "One or more room ids.",
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"includeRateCodes": {
"type": "boolean"
},
"page": {
"description": "Page number beyond the first (2, 3, ...). Check pages.nextPageExists in the previous response.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_booking_com_reviews(propertyId, from)
Guest reviews from Booking.com for one property, made on or after a date: scores, content, reviewer and any reply. At most 100 per call. Beds24 marks this endpoint Alpha. Beds24: GET /channels/booking/reviews.
Eingabe-Schema
{
"type": "object",
"properties": {
"propertyId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The property id."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Reviews made on or after this date, YYYY-MM-DD."
}
},
"required": [
"propertyId",
"from"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢beds24_list_airbnb_reviews(roomId)
Guest reviews from Airbnb for one room: overall and category ratings, public review, private feedback and the host response. At most 100 per call. Beds24 marks this endpoint Beta. Beds24: GET /channels/airbnb/reviews.
Eingabe-Schema
{
"type": "object",
"properties": {
"roomId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The Beds24 room id linked to the Airbnb listing."
}
},
"required": [
"roomId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴beds24_create_booking(roomId, unitId, status, arrival, departure, ...)
Create a new booking in a room for given dates and guest details. It immediately blocks inventory and is synced to connected channels. Set checkAvailability=true to refuse the booking if the room is not free, and notifyGuest / notifyHost to send confirmation emails. Undo by setting status cancelled with beds24_update_booking. Requires a token with bookings write access. Beds24: POST /bookings.
Eingabe-Schema
{
"type": "object",
"properties": {
"roomId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Room (room type) id."
},
"unitId": {
"description": "Specific unit within the room type.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"description": "Booking status.",
"type": "string",
"enum": [
"confirmed",
"request",
"new",
"cancelled",
"black",
"inquiry"
]
},
"arrival": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Arrival date, YYYY-MM-DD."
},
"departure": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Departure (check-out) date, YYYY-MM-DD."
},
"numAdult": {
"description": "Number of adults.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"numChild": {
"description": "Number of children.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"title": {
"description": "Guest title, e.g. Mr, Ms.",
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"mobile": {
"type": "string"
},
"company": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"description": "Free text country.",
"type": "string"
},
"country2": {
"description": "2-letter country code, e.g. DE.",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"arrivalTime": {
"description": "Expected arrival time (free text).",
"type": "string"
},
"lang": {
"description": "Guest language, 2-letter code, e.g. en.",
"type": "string"
},
"comments": {
"description": "Guest comments.",
"type": "string"
},
"notes": {
"description": "Internal host notes.",
"type": "string"
},
"price": {
"description": "Total booking price.",
"type": "number"
},
"deposit": {
"type": "number"
},
"tax": {
"type": "number"
},
"reference": {
"description": "Your own reference.",
"type": "string",
"maxLength": 100
},
"flagColor": {
"description": "Flag colour, 6-character hex (e.g. ff0000) or empty string to clear.",
"type": "string",
"pattern": "^([0-9a-fA-F]{6})?$"
},
"flagText": {
"type": "string"
},
"checkAvailability": {
"description": "Do not save the booking if the room has no availability. Recommended.",
"type": "boolean"
},
"assignBooking": {
"description": "Let Beds24 assign the first free unit / room using room dependency settings.",
"type": "boolean"
},
"notifyGuest": {
"description": "Email the guest a booking confirmation.",
"type": "boolean"
},
"notifyHost": {
"description": "Email the host a booking confirmation.",
"type": "boolean"
}
},
"required": [
"roomId",
"arrival",
"departure"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴beds24_update_booking(bookingId, roomId, unitId, status, arrival, ...)
Change an existing booking: dates, room/unit, guest counts, guest details, notes, flag, price, or status (e.g. confirmed, or cancelled to cancel — reversible by setting it back). Only the fields you pass change. Optionally add info items (code/text pairs). Changes sync to channels where allowed. Beds24: POST /bookings with the booking id.
Eingabe-Schema
{
"type": "object",
"properties": {
"bookingId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The booking id to change."
},
"roomId": {
"description": "Room (room type) id.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"unitId": {
"description": "Specific unit within the room type.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status": {
"description": "Booking status.",
"type": "string",
"enum": [
"confirmed",
"request",
"new",
"cancelled",
"black",
"inquiry"
]
},
"arrival": {
"description": "Arrival date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"departure": {
"description": "Departure (check-out) date, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"numAdult": {
"description": "Number of adults.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"numChild": {
"description": "Number of children.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"title": {
"description": "Guest title, e.g. Mr, Ms.",
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"mobile": {
"type": "string"
},
"company": {
"type": "string"
},
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"description": "Free text country.",
"type": "string"
},
"country2": {
"description": "2-letter country code, e.g. DE.",
"type": "string",
"minLength": 2,
"maxLength": 2
},
"arrivalTime": {
"description": "Expected arrival time (free text).",
"type": "string"
},
"lang": {
"description": "Guest language, 2-letter code, e.g. en.",
"type": "string"
},
"comments": {
"description": "Guest comments.",
"type": "string"
},
"notes": {
"description": "Internal host notes.",
"type": "string"
},
"price": {
"description": "Total booking price.",
"type": "number"
},
"deposit": {
"type": "number"
},
"tax": {
"type": "number"
},
"reference": {
"description": "Your own reference.",
"type": "string",
"maxLength": 100
},
"flagColor": {
"description": "Flag colour, 6-character hex (e.g. ff0000) or empty string to clear.",
"type": "string",
"pattern": "^([0-9a-fA-F]{6})?$"
},
"flagText": {
"type": "string"
},
"addInfoItems": {
"description": "Info items to ADD to the booking (existing ones are untouched).",
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"text": {
"type": "string"
}
},
"required": [
"code",
"text"
]
}
},
"notifyGuest": {
"description": "Email the guest an updated confirmation.",
"type": "boolean"
}
},
"required": [
"bookingId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴beds24_send_booking_message(bookingId, message, source)
Send a message on a booking's conversation. With source host (default) it is delivered to the GUEST through their channel (Airbnb, Booking.com, Vrbo, email) and cannot be unsent; with source internalNote it is a private host note. Beds24: POST /bookings/messages.
Eingabe-Schema
{
"type": "object",
"properties": {
"bookingId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The booking id."
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "Message text."
},
"source": {
"description": "host (to the guest, default) or internalNote (private).",
"type": "string",
"enum": [
"host",
"internalNote"
]
}
},
"required": [
"bookingId",
"message"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴beds24_mark_messages_read(messageIds, read)
Mark one or more booking messages as read (or unread with read=false). Beds24: POST /bookings/messages with [{ id, read }].
Eingabe-Schema
{
"type": "object",
"properties": {
"messageIds": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"description": "Message ids."
},
"read": {
"description": "true (default) = read, false = unread.",
"type": "boolean"
}
},
"required": [
"messageIds"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴beds24_update_room_calendar(roomId, from, to, numAvail, minStay, ...)
Set per-day calendar values for ONE room over a date range: units available (numAvail), minStay, maxStay, multiplier, override (none, blackout, exception, noCheckIn, noCheckOut, noCheckInOrCheckOut) and price slots price1..price16. Set a price to null to remove it. These values sync to channels. Read the current values first with beds24_get_room_calendar so you can restore them. Beds24: POST /inventory/rooms/calendar.
Eingabe-Schema
{
"type": "object",
"properties": {
"roomId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The room id."
},
"from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First date, YYYY-MM-DD."
},
"to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last date, YYYY-MM-DD."
},
"numAvail": {
"description": "Units available per day.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"minStay": {
"type": "integer",
"minimum": 1,
"maximum": 365
},
"maxStay": {
"type": "integer",
"minimum": 1,
"maximum": 364
},
"multiplier": {
"type": "number",
"minimum": 0.1,
"maximum": 100
},
"override": {
"type": "string",
"enum": [
"none",
"blackout",
"exception",
"noCheckIn",
"noCheckOut",
"noCheckInOrCheckOut"
]
},
"price1": {
"description": "Calendar price1 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price2": {
"description": "Calendar price2 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price3": {
"description": "Calendar price3 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price4": {
"description": "Calendar price4 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price5": {
"description": "Calendar price5 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price6": {
"description": "Calendar price6 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price7": {
"description": "Calendar price7 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price8": {
"description": "Calendar price8 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price9": {
"description": "Calendar price9 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price10": {
"description": "Calendar price10 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price11": {
"description": "Calendar price11 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price12": {
"description": "Calendar price12 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price13": {
"description": "Calendar price13 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price14": {
"description": "Calendar price14 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price15": {
"description": "Calendar price15 for these dates. null removes it.",
"type": [
"number",
"null"
]
},
"price16": {
"description": "Calendar price16 for these dates. null removes it.",
"type": [
"number",
"null"
]
}
},
"required": [
"roomId",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis