Changelog
Every dated entry names the release, the new surfaces / behaviours, and any migration notes. New capabilities are additive; a partner who ignores a new field on read keeps working. When we change existing behaviour (rare) it gets a β Breaking tag with the concrete migration path.
Versioning: the URL carries a major version (/v1/qc). Everything
under one major stays backward-compatible for callers that ignore
unknown fields. When we need to break, a new major is introduced
alongside /v1/qc for at least 6 months before the old one is
retired.
2026-11-23 β The tour operator behind an agency booking
- New: a B2B agency booking can carry more
booking_sourcesentries after the agency's own: the tour operator, and its voucher asreservation_id, when the agency is software booking for tour operators (Receiving bookings). The same appears as the first line ofadditional_notes. - Additive:
booking_sources[0]is unchanged, and a booking without references has exactly one entry, as before. Bookings already in the feed are not re-sent.
2026-11-18 β Special offers a website may show, for all your hotels at once
- New:
GET /special_offers/publiclists the public special offers of every property your token reaches, in one call, grouped by property β for a website that serves several hotels and has no single booking module to ask. It answers what the booking engine sells today, less the offers the hotelier keeps off the website. Each offer carries itspbb_id, so "Book" opens the hotel's own module.?property_id=narrows it to one property. - Scope:
inventory.readis enough;properties.manageworks too. A website that only shows offers does not need a token that can change them. - Managing offers stays on
GET /booking_buttons/{pbb_id}/special_offers, which also lists inactive and future offers. - What a website needs, with each offer:
book_url(the module's search on the offer β the booking engine opens it on the first stay that sells),offer_page_url(the offer's own page, Template 6 modules),image_urlwith its size,first_stay(the first free stay with its price) andprice_from(the "from" of the offer's page), andstays_checked_at. The stays come from a cache refreshed every half hour;nullwith no time means not worked out yet β ask again in a minute.
2026-11-08 β Documentation brought in line with the API
No behaviour changed by this entry except the last two points. The documentation now says what the API already does:
- Rate limits in the reference: calendar writes (
POST β¦/inventory/*) are 60 a minute per property, with no daily cap β not 20 a minute and 5 000 a day. Bookings 60, other writes 120, reads 300 a minute and 100 000 a day. - Scopes in the reference:
analytics.readis listed;GET β¦/availabilityandGET β¦/rate_plans/{id}/ratestake onlyinventory.readorinventory.write(notproperties.manage);GET /properties,GET /properties/{id},GET /events,GET /permissionsandGET /property_typesneed no scope. Approving a booking request (POST β¦/bookings/{id}/approve) needsproperties.manage, notbookings.write. - Webhooks:
booking.requestedandbooking.approvedare listed among the events you can subscribe to. Idempotency-Keyis recommended on every write, not required; with it, a retry is replayed instead of done twice.POST /propertiesanswers201with"message": "created".POST β¦/promotions:typemust be in the body ("type": nullfor a basic promotion).stay_rulesβ the day a stay may start or end on β is documented.- Prices: a per-room plan takes
rate(its one code isROOM); codes such asA2belong to per-person and per-occupancy plans and are skipped on a per-room plan witherrors.qc.unknown_acm_code. - Importing a booking with children needs the property's child age groups;
otherwise
422 errors.booking_child_age_not_accepted. - Errors: the error dictionary lists the keys it was missing (date ranges,
rate-plan room links, booking rooms, payment methods and more), and drops
errors.qc.occupancy_pricing_not_supported, which the API does not return. - PMS v1 faΓ§ade: it answers at
/api/pms/v1/{class}/{method}, the path legacy always used, and all nine methods are served natively. - A token narrowed to an endpoint (
endpoint_scopes) now reaches both spellings of its path (/from_searchand/from-search,/age_groupsand/age-groups), and both count against the same rate budget. GET β¦/rate_plans/{id}/rates: an unpriced day'spricesandacm_statusesare{}(an empty object), no longer[].
2026-10-21 β An adult price below 1 is refused
POST β¦/inventory/ratesrefuses a row that prices an adult code (ROOM,A1β¦An) below 1, withwarnings[]βerrors.qc.adult_price_below_oneand theacm; the rest of the batch writes. A price of 0 sold the night for free on the hotel's booking engine β booking included. Child codes may still be 0 (free child).- β Breaking for a partner that sent 0 to mean "not for sale": the row is
no longer written. Migration: close the nights with
stop_sell: trueonPOST β¦/inventory/restrictions.
2026-10-17 β Bookings at your own price need their own scope
- New scope:
bookings.import.POST β¦/bookingswrites a booking sold elsewhere, at your own price and channel, without Quendoo's search. It now needs this scope instead ofbookings.write, so a hotel can let a partner sell its offers without letting it write bookings priced and channelled by the partner. bookings.writekeeps everything else: booking frombooking_offers(bookings/from_search, previews, batch), cancel, no-show, payments.- β Breaking for a token with an explicit scope list that calls
POST β¦/bookings: it now answers403 errors.qc.insufficient_scope. Migration: ask the hotel (or Quendoo) for a token that includesbookings.import. A token with an empty scope list is unrestricted, as before.
2026-10-12 β Extras are held to the room they are booked with
-
New:
client_noteson each ofitems[].extras[](bookings and their previews, single and batch): the guest's note for an extra that asks for one. -
β Breaking: a booking is refused, as the hotel's own booking engine and dashboard refuse it, when an extra
- is asked for more people than it is charged for in that room
(
errors.extras.qty_over_max) β all guests, the adults or the children by its price type, and one for an extra priced per service; - requires the guest's note and none was sent
(
errors.extras.client_notes_required).
Until now both were booked: the first charged for people who were not staying, the second reached the hotel without the information it asked for. Migration: cap
qtyat the room's head count for the extra's price type, and sendclient_noteswhere the extra'sclient_notes_settingssaysstatus: "2". - is asked for more people than it is charged for in that room
(
2026-10-12 β No cancelling a guest who is checked in
- New
409oncancel,no_showandrooms/{position}/cancel: once the hotel has checked a guest in to a room, the booking is no longer cancelled or reported a no-show here:errors.pms.cancel_guest_in_house, and for one roomerrors.pms.cancel_room_guest_in_house. The guest arrived; a cancel would have taken them off the hotel's room plan while they were in the room. A room nobody has checked in to cancels as before.
2026-10-12 β A booking charges the promotions its offer showed
- Fixed: a promotion for one country or for phones only priced the offer
when the search sent
guest_ip/guest_user_agent, and the booking made from it was charged without it β the booking re-selects its promotions and never saw the guest. The search token now carries both, so the booking (the room and its extras) is priced for the same visitor.
2026-10-12 β Promotions can reduce the extras a guest adds
- New:
apply_promotions_when_selectedon an extra service. A promotion has always reduced an extra a rate plan includes and charges on top (insp), unlessdo_not_apply_promotions. With this on, it also reduces the extra when the guest adds it on the second step (ss) β in the offer and in the booking alike. Off by default: no price changes until a hotel switches it on.
2026-10-12 β Offers' accommodation text; daily extras are charged per day
- Docs only. On a per-room rate, an offer's
accommodation_namedescribes the room's maximum occupancy, not the party you searched, and calls the first extra bed "adult" even where only children may use it β PMS v1's wording, kept for v1 compatibility. Show the guest the party you searched and the room type'soccupancyinstead (Selling). - Docs fixed. A daily extra is charged per day, the departure day
included: 5 nights are 6 days with
apply_type: 1. The reference said "every night". For one charge per night useapply_type: 3.
2026-10-12 β The API reference matches the answers
No behaviour changed; the reference now shows what the API sends.
- Bookings: the examples for the list, a read,
bookings/sync,cancel,approve,no_showand a room's cancel are now the booking the feed carries β one booking of PMS v1'sgetBookings, withbooking_codein front. A cancel or no-show readsstatusCANCELLED; an accepted requeststatusAPPROVED. These answers carry nocancellationblock: askcancellation_quotebefore you cancel. cancellation_quotenames each room byposition(the numberrooms/{position}/canceltakes), withroom_totalandcancellation_number.- No id aliases: a property, room type and rate plan carry
id. Theproperty_id,room_type_idandrate_plan_idechoes ofidwere never sent and are gone from the schemas. A rate plan'sroom_type_id(its room) stays. POST /groupsanswerspartner_code, notid.PUT β¦/pricing_modelanswers each code asGET β¦/rate_plans/{id}reads it (kind,derived_from,modifier). A code the room's beds do not allow is dropped without a warning β compare the answer with what you sent.bookings/previewandbookings/batch/preview: a line names its room and rate plan byidandpartner_codeonly; the answer also haspayment_methodsandnotices.- Each list has its own example (extra services, promotions, payment and
cancellation policies, gallery, reviews, special offers), and each
422/400shows that endpoint's own error. Availability and rates answer keys (errors.qc.date_range_*), not sentences;booking_offersanswerserrors.validation_errorwith the field and rule. - Webhook
target_urlmust also resolve in public DNS. The example is now one the API accepts. - Inventory examples are dated December 2026. A write answers
202even when every night is in the past β readwrittenandskipped_out_of_window. - Request schemas for
auto_email_templates, special offers and a gallery image'sPATCH;POST β¦/extra_servicesmarks what it requires. A template'sproperty_idsare property ids (your partner code works too). booking_offershas example values forcheckin,checkout,booking_button_idandrooms[0][adults], so it can be sent from the reference as it stands.- Detaching a rate plan leaves it in every booking module that offered it,
still on sale there. A module's
rate_plan_idslists only the plans on your connection, so it can read[]while the module still sells.
2026-10-12 β Empty maps are objects; e-mail templates name properties by UUID
- Fixed: an empty map is
{}, never[]β every*_tr(name_tr,description_tr, a special offer'stitle_tr/subtitle_tr/text_tr, β¦) and a rate plan'sextra_service_groups. They read{β¦}when filled and came out as[]when empty, which a typed client cannot decode. - β Changed:
auto_email_templatesproperty_idsare UUIDs β as every other QC property id. Send our UUID or yourpartner_code(a number is still accepted); reads answer UUIDs, and no longerowner_id.
2026-10-12 β Every booking you read names its code
- New:
booking_codein front of each booking that the list, a read,bookings/syncand the cancel / approve / no-show answers return. It is the{id}every booking path takes; the payload'sbooking_idis Quendoo's internal number, which none does. The payload itself is unchanged β still exactly one booking of PMS v1'sgetBookings. On the feed, the revision already carriedbooking_code.
2026-10-12 β Tighter scoping
- β Breaking: a partner cannot switch a property to
live.PATCH/POST /propertieswithmode: live, or a mode change on adisabledproperty, answers403 errors.qc.mode_needs_hotelier. Going live is the hotelier's decision, in the Quendoo dashboard.shadow,legacyanddisabledstay yours. - β Breaking: a subscription is changed only by a credential that holds all of its properties.
PATCH,DELETE,/test,/deliveries,/delivery-statsand/rotate-secreton a subscription covering a property outside your token answer404. A token for some of the account's properties that sends noproperty_idsgets a subscription for its own properties, not for every property of the account. - Switching Quendoo Connect off cuts every credential off, including tokens that list properties.
/inventory/restrictionstakes at most 20,000 nights per request, like availability and rates (422 errors.qc.batch_too_large).
2026-10-12 β A 401 says why
- New:
errorandhinton every401βmissing_token,malformed_authorization,token_expiredorinvalid_token, with what to do, and the same inWWW-Authenticate.messageis stillerrors.unauthorized, so code that matches on it keeps working.
2026-10-12 β The guest comes back to your site after paying
- New:
PUT /v1/qc/payment_returnβ yoursuccess_urlandfail_url, set once. After the bank the guest lands there withbooking,position,statusandpartner_referencein the query, instead of on the hotel's confirmation page. Not proof of payment: confirm withGET β¦/bookings/{id}or the feed.GET/DELETEtoo. - New:
pay_returnnext to everypay_url(from-search,PUT β¦/payment_plan/{position}/method):partnerorhotelβ where that guest will land. See Selling β Bringing the guest back.
2026-10-11 β A booking reads as the feed carries it
- β Changed:
GET β¦/bookings/{id}answers exactly the booking feed's payload for the booking β its latest revision, PMS v1's getBookings item (revision_id,revision_number,booking_items,client,payments_plansβ¦).GET β¦/bookingsanswers that payload for every booking, like getBookings; so do cancel, no-show, a room's cancel and approve. One shape for a booking everywhere. - Names follow
?lang=, as on the feed. - The read no longer carries the payment links or the cancellation cost:
GET β¦/payment_optionsandGET β¦/cancellation-quoteanswer those. - This replaces the nested room shape and the extra list fields added earlier today.
2026-10-11 β Connect a new PMS: a full sync, then the feed
- New:
GET β¦/properties/{id}/bookings/sync?from=β¦&by=checkin|createdβ every booking from a date, page by page, each exactly as the feed carries it, straight from the hotel's book (older than the feed too), withfeed_cursor: the feed's position when the sync began. Pollbooking_revisions/feed?since={feed_cursor}from there and nothing is missed in between. booking_revisions/feed?since=latestanswers no revisions and the cursor to poll from β for a poller that wants no history.
2026-10-11 β More of each booking, on the read and in the list
GET β¦/bookings/{id}andGET β¦/bookingsanswerpartner_reference(yours),reference(what the hotelier sees),additional_notes(the guest's requests), the booking's owncreated_at/updated_at, andpaid_amount,balance_due,next_due_datefrom the payment plan.- The list also answers
hotel_status,payment_status,sales_channel, each room'smeal_plan, andcancellation_penaltyfor a cancelled booking β enough to show a list without reading each booking. GET β¦/bookings?updated_since=β¦β bookings that changed since then.- A cancelled room's
priceis 0, so the rooms add up tototal_price; what it cost is incancellation.rooms[].room_total.
2026-10-11 β The bookings list shows each room
GET β¦/bookingsanswers each room as the hotel's book has it now:position,room_typeandrate_plan(id, name, partner_code),adults,children,price,is_cancelledβ enough to show a list without reading every booking. Names follow?lng=. Guests, nightly prices, extras and the payment plan stay onGET β¦/bookings/{id}.
2026-10-11 β β Breaking: ids named the same everywhere
The API is young and has one integrator, so its ids are fixed now rather than carried as aliases. Migration: rename the fields below; the URLs do not change.
The rule. An object's own id is id; another object names it
property_id, room_type_id, rate_plan_id, booking_id. Yours are
partner_code. A channel's are ota_β¦. Quendoo's internal numbers are gone
from every answer and every request.
Properties, room types, rate plans
external_property_id,external_room_type_id,external_rate_plan_idare gone: readid.- Prices and availability (
GET β¦/rates,β¦/availability,consolidated):external_rate_plan_id/external_room_type_idβrate_plan_id/room_type_id; the availability filter?external_room_type_id=β?room_type_id=.PUT β¦/pricing_modeland the inventory warnings answerrate_plan_id. - Channels:
external_channel_id(the OTA's id) βota_channel_id. - Promotions take and answer only
room_type_ids/rate_plan_ids; the integerrooms_ids/rate_plans_idsare refused. - Special offers take and answer
rate_plan_ids(ours, or your codes);rate_plans_idsis refused.property_idis ours. - Groups:
external_group_idβpartner_code, and the answer'sidβpartner_code(it was always your own id). - The OAuth token's
property_idsare our ids;external_property_idsis gone.
Search and booking
booking_offers:unavailable[]names rooms and plans asroom_type {id, name, partner_code}/rate_plan {β¦};format=enginerooms and rates carryroom_type {id, partner_code}/rate_plan {id, partner_code}(the engine's own numbers stay β they are the booking page's data). The defaultpmsformat keeps PMS v1's shape, withroom_type_id/rate_plan_idfor our ids.- Preview
lines[]:room_type {id, partner_code},rate_plan {id, partner_code};room_id/ numericrate_plan_idare gone. A plan sold on two rooms now answers the right id on each. - Extras in requests (
from-search, preview, batch):service_idβid. POST β¦/bookings(CRS):items[].external_room_type_id/external_rate_plan_idβroom_type_id/rate_plan_id.- From-search answers: the internal
booking_idis gone (idis the booking code); batchparts[].booking_idandcancelled_booking_idsare codes; a dry run answersid: null.
A booking's read (GET β¦/bookings/{id} and the cancel, room-cancel and
approve answers)
rooms[]:room_type {id, name, partner_code},rate_plan {id, name, partner_code},meal_plan {code, partner_code}(ornull) replaceexternal_room_type_id/room_name,external_rate_plan_id/rate_nameandmeal_plan;room_idand the numericrate_plan_idare gone.- Extras:
service_idβid, with yourpartner_code; the top-levelextras[].room_indexβroom_position(from 1, asrooms[].position). revision_idβota_revision_id; thestatusalias is gone.cancellation.rooms[].booking_item_idβposition.- The list's
rooms[]:{room_type {id}, rate_plan {id}, qty}.
Feed and webhooks
- The feed's envelope keeps
booking_code;inbound_booking_idis gone. The booking payload is PMS v1's, unchanged (ext_*carry your codes when mapped). - Staged payloads:
external_booking_idβbooking_id,external_revision_idβota_revision_id, rooms as objects. - Webhooks:
external_property_idβproperty_id,external_booking_idβbooking_id,external_room_type_idβroom_type_id,external_rate_plan_idβrate_plan_id,external_channel_idβota_channel_id. Internal numbers are gone from them:room_id,rate_id, the numericproperty_idof housekeeping events; a derived plan's parent isparent_rate_plan_id(ours), and a rate plan event names itsroom_type_id. - The inbound channel webhook takes
property_id,ota_booking_id,ota_revision_id.
2026-10-11 β The hotel maps your services, meals and beds too
- The hotel's Quendoo Connect page maps your service, meal and bed codes
(
PUT β¦/catalogue) onto its extra services, meal plans and bed types, as it maps rooms and rate plans. Only codes in your catalogue can be chosen.
2026-10-11 β The hotel maps your catalogue in its dashboard
- The codes you send with
PUT β¦/cataloguenow appear on the property's Quendoo Connect page in the hotel's dashboard, beside its rooms and rate plans; the hotel picks which of its rooms and room Γ plan pairs each code is. It sets the samepartner_codeasPATCH room_types/rate_plans, so you see the result on every read. Only codes in your catalogue can be chosen.
2026-10-11 β Find a booking by your own reference
GET β¦/bookings?partner_reference=β¦returns the booking you made under that reference. The parameter was ignored, and the list answered every booking.
2026-10-11 β One room cancelled; searches say what is wrong, by field
- New:
POST β¦/bookings/{id}/rooms/{position}/cancelβ takes one room off a booking; the rest stays booked at its price. The room gets its owncancellation_number.positionis new on each room of the booking read. - After a room is cancelled,
total_priceon the read is the new one at once (it showed the old total for up to a minute). - β Changed:
GET β¦/booking_offersrefuses a bad parameter as every other endpoint does β422 errors.validation_errorwitherrors.{field}: [{key, params}](validation.qc_stay_nights,validation.qc_rooms_count,validation.date_format, β¦) β not an English sentence witherrors: null. An inactive booking module is404 errors.qc.booking_module_not_found. - A check-in in the past is refused (
validation.qc_checkin_in_past). It answered 200 with every roomno_availability, which read like a full hotel. unavailable[]: the party as you searched it, withroom_index; ano_pricenames its night innights.Idempotency-Key: a request sent while one with the same key is still running waits for its answer, or gets 409errors.qc.idempotency_in_progress. It ran a second time and failed onpartner_reference_taken.
2026-10-11 β Round-2 fixes: a child's age, the cancel answer, room errors, the pricing model
- A child's age is kept. A guest is taken as a booking reads it back β
is_adultandageβ besidesadultandnon_adult_age. Before,agewas dropped without a word and the child stored as 0 years old; a child without an age is now refused. - The cancel answer is the record.
cancellationonPOST β¦/cancelis what was recorded, asGETreads it: each room'scancellation_number, and a room cancelled earlier as it was then. Before, the numbers were null. - Room type errors name your fields β
capacity.adults,name,qtyβ not the dashboard's (occ_adults). PUT β¦/pricing_modelanswers the pair'soccupancies, the codes to price, without anotherGET.
2026-10-11 β Names, ids and paths made consistent
- A property's name per language.
POST /propertiestakesname_tranddescription_tr; before,namewas stored asen-GBwhatever its language.PATCHnow changesname,name_tr,description_trandref_noβ before, it answered 200 and kept the old name. - The preview's
linescarryexternal_room_type_idandexternal_rate_plan_id, asbooking_offersdoes, beside our numeric ids. - Paths with underscores everywhere:
age_groups,property_types,pricing_model,bookings/from_search,cancellation_quote,rotate_secret. The hyphenated paths keep working. - Policy codes explained in one place: Hotel configuration β Policy codes.
2026-10-11 β Two searches, two tokens
- Two identical searches in the same second returned the same
search_token, so booking with one made the other answer422 errors.booking_search_token_invalid. Every search now gets a token of its own. Nothing to change on your side.
2026-10-11 β Extra-service groups, and the groups a rate plan offers
- New:
β¦/properties/{id}/extra_service_groups(list, create, read, update, delete) andGET/PUT β¦/rate_plans/{id}/extra_service_groups. An extra reaches a guest only through a group on the rate plan; before, only the dashboard could build one, so an extra created through the API was never offered and booking it answerederrors.booking_extra_not_in_offer.
2026-10-11 β Booking requests on the feed and webhooks
- A booking request now reaches the booking feed as a
requestedrevision (statusREQUESTEDin the payload), thenapprovedwhen the hotel accepts it, orcancelledwhen it declines it. Before, a request was left out until accepted and then arrived ascreated. A request holds no rooms: do not take rooms for it untilapproved. - New webhooks
booking.requestedandbooking.approved. Withbooking.approvedabooking.createdis sent too, as before. booking_statusreadsrequestedfor a request on the feed as well.
2026-10-11 β Offer the hotel's payment methods on a property
- New:
PUT β¦/properties/{id}/payment_methods/{id}/assignedoffers one of the hotel's existing payment methods on the property, or stops offering it. A property created through the API had none and guests could not pay. Only an active method in the property's currency.
2026-10-11 β Booking requests: read, accept, decline
GET β¦/bookings/{id}reads a booking request the hotel has not accepted yet:booking_statusrequested, its rooms and guests, no payment links. Before, it answered 404 until the hotel accepted it.POST β¦/bookings/{id}/cancelon a request declines it. Before, it answered 404, and a request could be accepted but never declined.- β Changed:
POST β¦/approveanswers the booking asGETreads it β the read works at once (it answered 404 for up to a minute after an approval). The hotel's status is the newhotel_status(approved);statusis, as everywhere, the old name ofprocessing_state, no longerAPPROVED. hotel_statuson every read of one booking:requested,created,approved,checkin,checkout,cancelled, as the hotel's dashboard shows it.cancellationon a cancelled booking: what it cost β the figures recorded at the cancel, each room with itscancellation_number.
2026-10-11 β Set a room's places, so it takes children
POST/PATCH β¦/room_typestakeoccupancy: the room's places (regular,extra,extra_2,no_bed, each{qty, takes}) in the shape you read them. APATCHchanges only the places sent. Until now only the hotel's dashboard could set them, and a room created through the API took no children.- A room sold on the channel manager may gain places but not lose them
through the API (
409 errors.qc.room_beds_locked_by_channel_manager). occupancy: {adults, β¦}is still accepted as the old name ofcapacity.
2026-10-11 β The feed by property
GET /booking_revisions/feed?property_id=β¦returns one property's revisions only. Keep a cursor per property when you poll that way.- Each revision carries
booking_code(the hotel's booking code, the idGET β¦/bookings/{id}takes) andproperty_idnext topayload, so you can route it without reading the payload β whose keys differ between a booking in the hotel's book and one still staged.
2026-10-11 β The whole booking on a read
GET β¦/bookings/{id}answers each room as it is now in the hotel's book:room_name,rate_name,meal_plan,adults,children,guests(names,is_adult, a child'sage),price,room_price,extras_price,nightly_pricesand itsextras;is_cancelledfor a room taken off.extrasat the top lists them all, withroom_index. Names follow?lng=. Before, a room carried its ids only andextraswas empty even when the guest had booked some.- Each
payment_planinstalment says the method it was set to or paid with (payment_method_id,payment_method_type) andpaid_atβ here and in thefrom-searchanswer. cancellation: what cancelling would cost today (cancellation-quote's answer), on a booking still open.- Deprecated, still sent: the numeric
room_id/rate_plan_idinrooms. Useexternal_room_type_id/external_rate_plan_id.
2026-10-11 β Why a room is not offered
GET β¦/booking_offers(the default format) answersunavailable: each room and rate the module sells that was not offered for the search, with the reason (min_los,no_arrival,no_space,no_priceβ¦), the number the rule counts, the nights that failed, and β for a stay-length rule β asuggestionwith the length it asks. Before, a search that found nothing answered an empty list and no reason.- Deprecated, still sent: the numeric
room_id/rate_idon each offer. Useexternal_room_type_id/external_rate_plan_id.
2026-10-11 β Payment methods a policy offers
- A payment policy created or updated without
available_pm_idson a payment now gets the methods switched on for the property at that moment, and its answer says so innotices(qc.payment_methods_filled). Before, the list stayed empty β and an empty list offers no method on the hotel's payment page, so the guest could not pay. The reference said "empty for all"; that was wrong, and it now says what happens. - The default policy a rate plan gets is filled the same way.
POST β¦/bookings/previewanswersnotices:qc.no_payment_methods_offeredfor each instalment no method can pay.
2026-10-11 β What a cancellation costs
- New:
GET β¦/bookings/{id}/cancellation-quoteβ for each room, the cancellation rule that applies today and its penalty, and the total. Tell the guest before cancelling. POST β¦/bookings/{id}/cancelanswerscancellation: the same, worked out at the moment of the cancel. Until now a cancelled non-refundable booking read 0 due and nothing said what the hotel keeps.- See Booking engine β Cancel.
2026-10-11 β Derived rate plans, by periods
- New:
POST β¦/rate_plans/{id}/derivedβ a plan priced from{id}by periods, each with its own discount or markup (dec_per,inc_per,dec_abs,inc_abs). Onlytitleandperiodsare needed: the meal plan and the policies default to the parent's. See Derived plans.
2026-10-11 β The whole structure in one call, and the beds
- New:
GET β¦/properties/{id}/structureβ the property, its age groups, room types with their beds, each room's rate plans with their codes, and the policies, in one call (whatgetPropertySettingsgives). Parts your token cannot read are named inomitted. - Room types carry their
occupancy: who each place takes (adult / teen / child / infant). The codes and the capacity in search follow from it.capacityis the booking engine's display β see capacity is for display. - β Breaking β room types:
occupancy{adults, children, infants}is nowcapacity, andoccupancyis the room's places (above). Readcapacityfor the numbers you read asoccupancybefore. OnPOST/PATCH,occupancy: {adults, β¦}is still accepted ascapacity.
2026-10-11 β A plan's rooms, and setting the codes yourself
- New:
POST β¦/rate_plans/{id}/room_typessells a plan on one more room, andDELETE β¦/rate_plans/{id}/room_types/{room_type_id}stops it on one (its prices there are deleted). As the hotel's dashboard does it; base plans only. See Rooms of a plan. - How to send your own occupancy codes is now in the guide: Setting the codes yourself.
2026-10-11 β Rate plans checked as the dashboard checks them
POST β¦/rate_plansis validated by the hotel dashboard's own rules before it is written. Still onlytitleandroom_type_idsare required: the meal plan defaults toBO, the public name to the title in en-GB, the policies to the property's first ones.- β
titleis limited to 200 characters (it was 250): the dashboard edits a name of at most 200, so a longer one could not be saved there again. - New:
name_tranddescription_tron create. - New:
PATCH β¦/rate_plans/{id}changes the name,name_tr,description_tr, meal plan and policies β the plan's, on every room it is sold on, as in the dashboard.
2026-10-11 β A pricing model is set per room
- Fixed:
PUT β¦/rate_plans/{id}/pricing-modeland asell_typechange inPATCH β¦/rate_plans/{id}set the model on every room the hotel sells the plan on, rooms you do not manage included. They now change the plan on the room the id names, as the hotel's dashboard does βpairs_updatedis 1. - Fixed: the same calls cleared the hotel's children and infant fees for external systems on the plan. They are kept.
- Explicit
occupanciesonpricing-modelno longer answererrors.qc.occupancies_require_single_room: the call is always for one room.
2026-10-11 β Prices: the occupancy codes explained
- How a plan is priced
now lists every occupancy code (
A1β¦,AEB, the child codes by age group and bed,Apn/Cpnfor per-occupancy plans), how a room's beds decide which exist, and what eachkindmeans, with a worked example. Docs only.
2026-10-11 β Payment changes arrive in about a minute
- A change to a booking's payment plan or payment method alone now reaches the feed and webhooks in about a minute, like any other change (it could take up to 15 minutes). After a pause in reading, the changes you missed arrive within 3 minutes of your next call.
2026-10-11 β Sending a booking request
from-searchtakes"request": true: the booking is written as a request (requested). It holds no room and asks for no payment until the hotel accepts it. See Booking requests.- A request written by
POST β¦/bookingswithstatusREQUESTEDno longer takes the rooms either β the same as a request made anywhere else.
2026-10-11 β Booking requests can be accepted
- New:
POST β¦/bookings/{id}/approveaccepts a booking request (a B2B agency's, or from a hotel that takes bookings on request) as the hotel's Confirm button does: the rooms are taken then. Needsproperties.manage. See Booking requests. - The
confirmedrevision type is gone from the docs: no partner ever received one.
2026-10-11 β The payment method, chosen with the booking
- The preview answers
payment_methods: what the guest can pay with, as the hotel's booking engine shows them at checkout, each with the plan it gives. from-searchtakespayment_method_idand answers where the guest pays:pay_urlβ the payment provider itself β for an online method,bank_transfer(account, amount, date, reference) for a transfer.
2026-10-11 β Your own payment page
- New: build the payment step on your own site, for a booking you made
through Quendoo Connect β the same steps as the hotel's payment page:
GET β¦/bookings/{id}/payment_options?position=1β the instalment, whether it can be paid now, and the hotel's methods for it;PUT β¦/bookings/{id}/payment_plan/{position}/methodβ the guest's choice:pay_urlfor an online method,bank_transfer(account, amount, reference) for a transfer;POST β¦/bookings/{id}/payment_plan/{position}/paidβ an instalment paid some other way, marked as the hotel's reception marks it. See Selling β Payment.
2026-10-11 β A booking's payment, readable
GET β¦/bookings/{id}now says how the booking stands with its payment:payment_status,payment_plan(each instalment withis_paid) andpayment_urlfor the next unpaid one β the same shapefrom-searchanswers. Alsosales_channel: the channel that sold it (QCNfor Quendoo Connect,BDC, β¦). The cancel and no-show answers carry the same.- The guest is no longer masked in
GET β¦/bookings,GET β¦/bookings/{id}and the cancel / no-show answers β as on the booking feed, which already sent the contacts as booked. booking.modifiedis described as what it is: any change to the booking, a payment arriving included.- Selling β Payment explains the hotel's payment page, which methods the guest sees, how to know it was paid, and that taking the payment yourself is not possible yet.
2026-10-11 β A plan on the channel manager keeps its pricing model
PATCH β¦/rate_plans/{id}with a newsell_type, andPUT β¦/pricing-model, now answer409errors.qc.sell_type_locked_by_channel_managerwhen the plan is synced to the channel manager on any room. The change would have to re-create the plan there and drop its OTA mappings β the hotel decides that in its dashboard. Until now the API changed it without that step.
2026-10-11 β Webhook subscriptions: your own events, public addresses only
- A subscription without
property_idsnow receives only your own properties' events; it could previously receive other accounts' events. - β Breaking:
target_urlmust be a public https address on port 443 or 8443 β plain http only on staging. Localhost, private or reserved networks,quendoo.comhosts and URLs withuser:passanswer422validation.public_webhook_url. The check runs again at every delivery; a refused one is logged astarget_not_allowed: not a public address. Redirects are no longer followed β answer at the URL itself. webhook.subscription_failedgoes only to the account whose subscription failed.
2026-10-11 β Rooms, properties, child ages and offers checked by the dashboard's rules
The API now validates these with the hotel dashboard's own rules, so what you save is something the hotel can open and save again. What changes for you:
- Child ages (
PUT β¦/age-groups): ages run from 0 to 18 (were up to 99), andfrom_ageis in whole years.to_agemay still be11.99. - Room types: a name is up to 200 characters (was 250) β the dashboard refuses a longer one when the hotel edits the room.
- Properties (
POST β¦/properties): a name is up to 200 characters (was 250) andref_noup to 50 (was 100), for the same reason. APATCHaccepts the address lines up to 500 characters, as the dashboard. - Special offers and automatic e-mails: no change.
2026-10-11 β Booking modules are written by the dashboard's code
- Creating a booking module and including or excluding its rate plans now run the same code as the hotel's dashboard: a module is created with its plans in one step. A name may now be up to 255 characters, as in the dashboard. Nothing else changes for you.
2026-10-11 β The old calendar write doors removed
- β Breaking:
POST β¦/properties/{id}/availabilityandPOST β¦/rate_plans/{id}/ratesare gone. No partner ever called them. They wrote the calendar past the hotel's dashboard code β no audit, no booking-engine refresh. Write throughPOST β¦/inventory/availability,β¦/inventory/ratesandβ¦/inventory/restrictions, which run the dashboard's own code. TheGETs of both paths stay.
2026-10-11 β Website pages and testimonials removed
- β Breaking:
β¦/properties/{id}/content_pagesandβ¦/properties/{id}/guest_feedbackare gone and answer404. They were never documented field by field, no partner ever called them, and they wrote past the hotel's dashboard β aPATCHcould empty fields it was not sent. The hotel keeps editing both in its dashboard. Ask us if you need them; they would come back writing through the dashboard's code.
2026-10-11 β Configuration checked by the dashboard's own rules; payment methods readable
-
Policies, promotions and extras are validated by the same code as the hotel's dashboard. Until now the API kept its own copy of the rules, and the two had drifted. What changes for you:
- payment policies:
num_daysof0is accepted, and there is no upper limit; - cancellation policies: no row limit, and
p_typemay be a number or a string; - extras: a price type for a child age group (
5β7) is refused while that age group is off, as in the dashboard.
On top, the API keeps refusing what the dashboard's form would not let a hotelier enter, so that nothing you save is a record the hotel cannot open and save again: the days or the date a payment or cancellation type needs, an amount of at least 1, a cancellation type from the list, and a booking window that ends after it starts.
- payment policies:
-
New:
GET β¦/properties/{id}/payment_methodsβ the ids that a payment policy'savailable_pm_idsand a preview'spayment_method_idsrefer to. Read only. -
A refused enum value now lists the allowed ones (
validation.enumcarriesvalues, asvalidation.indoes). -
Documented: every field of an extra service; that a promotion applies only on stays matching one of its
stay_conditions(without one it never applies); that configuration records have numeric ids.
2026-10-11 β Partner calendar writes run the dashboard's code
Prices, availability and restrictions you send are now written by the same code as the hotelier's own dashboard edits. The answers stay as they were. What you may notice:
- Pricing a night makes its fee and free codes sellable (a fixed-fee extra bed, a child that stays free), as the dashboard does. Before, those codes had no row and the room could not be sold for that party.
- β A restriction on a derived plan creates its rows, opened. Before, it
either answered
unchangedand kept nothing (where the parent had no row for the night), or copied the parent's open/closed state into the new rows. Now the derived plan's rows are created opened, as in the dashboard, and they win over the parent's β so a minimum stay on a night the parent has closed opens it on the derived plan. Send"stop_sell": trueto keep a night closed. skipped_out_of_windowon prices counts only the codes you sent.- New:
openedandclosedonPOST β¦/inventory/availabilityclose or open a room type on some nights, with or without a newavailabilityβ as PMS v1'supdateAvailabilitydoes.openedwins when both are sent. - Your writes now also reach the hotel's channels and the booking engine's calendar straight away.
2026-10-11 β Subscriptions take only the events that are sent
- β
POST/PATCH /subscriptionsrefuse an event that nothing sends yet (availability.updated,rate.updated,restriction.updated,booking.confirmed,booking.checked_in,booking.checked_out,booking.payment_*,booking.status_changed,guest.*,payment.*,review.*,webhook.subscription_failed) with422. Until now they were accepted and never rang.GET /eventslists only the events that are sent. The others will come later.
2026-10-11 β Rate limits per endpoint group
- β Limits now differ by kind of call. Until now every endpoint allowed 300 calls a minute and no daily limit was counted, whatever the docs said. Now: calendar writes 60 a minute per property; creating bookings 60 a minute; other writes 120 a minute; reads 300 a minute and 100 000 a day β per token and per endpoint. See Rate limits.
- The numbers are sized on real PMS traffic: 99% of a hotel's busiest minutes stay under 44 calendar writes. Batch your changes as ranges and you will not meet them.
2026-10-11 β Advanced derived plans need the hotel's option, as in the dashboard
- β
POST β¦/rate_plansrefuses an advanced derivation β a fixed-amountderivation(dec_abs,inc_abs) or a plan derived from a derived plan β with422 customer.rate_plan.rules.advanced_config_requiredwhen the hotel does not have advanced rate plans switched on. Until now such a plan was created, but the booking engine never offers it to that hotel's guests, so it could never be sold. Percentage derivations are unaffected. - The OpenAPI file is valid for strict YAML parsers again (one event description broke them).
2026-10-11 β The service level page is withdrawn
The draft βService level agreementβ page is gone: it described a status page, response-time targets and support hours that are not in place. What does hold β rate limits, retries, idempotency β is on Authentication, Conventions and Receiving bookings. Write to [email protected] for anything you need agreed.
2026-10-11 β A restriction sent before the prices is kept
POST β¦/inventory/restrictionson nights that have no price yet now keeps the restriction, as the hotel's dashboard does; it applies once the nights are priced. Until now it was dropped while the answer saidunchanged, so a minimum stay or a stop sell sent ahead of the prices was lost.
2026-10-11 β booking.created for every new booking; a suspended subscription can be switched back on
booking.creatednow rings for every new booking in a followed property β from the booking engine, the dashboard or a channel. Until now it rang only when a booking you sent withPOST β¦/bookingswas accepted, so a subscriber heard nothing about the hotel's ordinary bookings (the feed had them all along). Bookings already in the book when a property is connected still arrive silently.PATCH /subscriptions/{id}with"is_active": truelifts an automatic suspension. A subscription is suspended after three deliveries in a row fail every retry; until now only Quendoo could switch it back on.
2026-10-11 β A minimum or maximum stay can be removed
POST β¦/inventory/restrictionstakes"max_los": null(or"min_los": null) to remove the limit from those nights. Until nownullwas read as "leave it", so once set, a limit could only be changed, never removed. Leaving the field out still leaves it as it is.- Both limits apply to every night of a stay, not only its arrival night:
a
min_losof 3 on 15 December refuses 14β16 December too. The reference now says so.
2026-10-11 β Room type changes reach the hotel; detach instead of delete
- β
PATCH β¦/room_types/{id}now changes the hotel's room. Until nowqtyand the occupancy were written to the connection alone β the answer showed the new value while the hotel kept selling the old one, and the next sync put the old one back β andnamewas dropped without a word. The change is now made to the room exactly as the dashboard makes it. It takes the same field names as the create (name,qty,occupancy,kind,description); the olderoccupancy_adultsβ¦ names still work. If the hotelier saves the room at the same moment the answer is409 errors.qc.room_changed_meanwhileβ send it again. - New:
POST β¦/room_types/{id}/detachandPOST β¦/rate_plans/{id}/detach. You stop managing the room type, or the rate plan on that room; the hotel keeps selling it. Until now a detached room or plan came back to your connection under a new id at the next catalogue sync; it now stays detached. Detaching a rate plan also detaches the plans derived from it on the same room. DELETEon a room type or a rate plan is the old name of detach and does the same β it never deleted anything in the hotel. Preferdetach.
2026-10-10 β From a partner's first day: what we fixed
We set up a hotel from scratch through the API, as a partner would, and fixed what got in the way.
- β
POST β¦/bookings/{id}/cancelandβ¦/no_shownow end the booking in Quendoo. Until now they marked only the API's own record: the room stayed sold. They now cancel exactly as the dashboard does (room back on sale, cancellation e-mails). Only a booking written through Quendoo Connect can be ended here; one from another channel answers409 errors.qc.booking_not_cancellable_here. Cancelling needs the stay not to have started (errors.qc.cancel_after_arrival); a no-show is accepted from the arrival day (errors.qc.no_show_before_arrival). POST β¦/bookings/from-searchalso answersidβ the booking's code, the id the rest of the API uses. Itsbooking_id(an internal number) stays but is deprecated.- β
POST β¦/bookingsanswers the booking's code asidβ the id thatGET β¦/bookings/{id}, cancel and the feed know. It used to echo yourpartner_booking_id, which nothing could look up. - Booking modules.
POST β¦/booking_buttonscreates one, andPOST/DELETE β¦/booking_buttons/{id}/rate_planschoose the rate plans it offers β a property set up through the API can now be sold through it. The module list carriesrate_plan_ids. - Rate plans read back what they were created with:
meal_plan,payment_policy_id,cancellation_policy_id,derivation. A plan created without policies names the ones it got innotices[]β a new property's placeholder is non-refundable. - Bookings and the feed carry the right
external_rate_plan_idwhen a plan is sold on several rooms (it gave the last room's id for all). - A refused booking names the rule (
errors.booking_child_age_not_accepted) instead oferrors.qc.booking_create_failed. - Restrictions on a derived plan (stop-sell, min stay) were not kept; they
are now. A field an inventory write does not know (
min_stayformin_los) comes back inwarnings[]aserrors.qc.unknown_field. A write to a property that is not live says why:dry_reason. - A room created as
apartmentreadskind: apartment. Switching a property toliverecordsactivated_at. - Same names in and out: reads take
date_from/date_to(from/tostill work); restrictions read under the names they are written with (stop_sell,closed_to_arrival,closed_to_departure); a room is written withname/qty/occupancy(the old names still work); offers takelang, as the feed does (lngstill works); extra services are listed underextra_services(and stillextras). - Errors are keys everywhere: a read's date range (
errors.qc.date_range_*), an unknown path (404 errors.not_found) or method (405 errors.method_not_allowed).validation.inlists the acceptedvalues. An empty analytics answer is{}, not[]. - Standard OAuth 2.0 token.
POST /oauth/tokenanswers the token at the top level (RFC 6749), as OAuth libraries expect β and still underdata. The client may authenticate with HTTP Basic; a refusal carries the OAutherrorcode; the answer is never cached. /healthanswers in the envelope too (the fields stay at the root for uptime probes).- Timestamps of policies, promotions, special offers and reviews are ISO 8601 with the offset, like all others.
stay_week_daysof a promotion is optional: left out, every day.total_amountof a booking you create takes cents (451.50).- A delivered webhook counts its attempt and has no
next_attempt_at. - Promotions take our ids:
room_type_ids/rate_plan_ids(or your partner codes) target rooms and plans, and read back the same way. The internal integerrooms_ids/rate_plans_idsstill work. - A property reads back its details β
type_id,star_rating,address,gps,contact_details, check-in and check-out hours β andPATCH /properties/{id}changes them under the rules they are created with. - One webhook subscription, several events:
events: [...]on create and PATCH (eventstill works); every subscription reads back itsevents. - Offers carry
external_room_type_id/external_rate_plan_idnext to the internalroom_id/rate_id. - A fixed-scope token answer adds
external_property_idsβ the ids to use;property_ids(internal numbers) stays for older clients. - Payment and cancellation policies are documented field by field β
what every
pay_type,amount_type,c_typeandp_typemeans, with examples. A day rule applies when the count of days is betweenp_days_fromandp_days, both included. - Rate plan and property-create texts corrected: every
sell_typeis accepted (the text said onlyper_room); a derived plan is refused when it would leave nothing to pay (dec_perof 100 or more).
2026-10-10 β Channels list carries binding ids; health and campaigns trimmed
- New:
idon every row ofGET /properties/{id}/channels. It is the{bindingId}that the show, activate and deactivate routes take. Before, the list left it out, so those routes could not be reached from it. - β Changed:
GET /v1/qc/healthanswers only the switches:healthy,at,api_version,enabled(and its aliaskill_switch),livemode,sandbox_mode. The counts it used to add (property modes, the booking ledger, webhook deliveries, signing kids) were internal and are no longer public. A probe readinghealthykeeps working. - β Changed:
analytics/campaignsrows carryid,name,channel,status,is_recurring,dispatch_mode,scheduled_at,sent_at,last_sent_at,total_recipients,total_sent,total_failed,created_atandupdated_at. The campaign's content, sender, template, audiences and internal ids were never meant to be exposed, and no longer are.
2026-10-10 β Booking feed: every change, PMS v1's rules
- Changed: changes that leave the booking record itself untouched now
reach
/booking_revisions/feed, for example a payment plan or a payment method changed on its own. They arrive within 15 minutes at most, usually within the minute. Before this release they could go unreported until the booking changed again. - Changed: bookings on request that the hotel has not accepted yet are
left out, as PMS v1's
getBookingsleaves them out. One appears ascreatedwhen the hotel accepts it. - Changed: the feed follows a property while someone reads it: a token used in the last 7 days, or an active webhook subscription. A pause longer than that loses nothing: what changed meanwhile arrives as revisions shortly after you call again.
- New:
?lang=on/booking_revisions/feed, the same as PMS v1'sapi_lng, e.g.bg-BG. It renders room, rate, service and tax names in that language; without it they stay in en-GB. Revisions recorded before this release keep en-GB. - Fixed: partner ids for hotels with more than one PMS API v1 key. The
ids now come from the key that carries the hotel's room and rate codes.
Before, they came from the oldest key, which was sometimes the chatbot's
and carried no codes, so
ext_room_id/ext_rate_idarrived empty.
2026-10-10 β API reference: answers described as they really are
No behaviour changed. The reference described some answers wrongly; it now matches what the API has always returned, checked against live responses. If you wrote code from the old reference, check these:
-
β
POST β¦/bookingstotal_amountis in WHOLE units of the currency (450= β¬450), not minor units as the reference said. If you sent cents, your bookings were written 100 times too high β please check. -
Bookings:
total_price(and money insiderooms[]/extras[]) is{amount, currency}, not a number; one booking (read, cancel, no-show) isdataitself, notdata.data;booking_status(created,confirmed,cancelled,no_show) is what the hotel sees, whileprocessing_state(aliasstatus) is Quendoo's intake state;source_channelcan beQDO,QDB,QDA,QAIand more, not only OTA codes. Acknowledging a revision answersdata: []. -
Account, catalogue, channels, webhooks:
GET /eventsβdata.event_catalog_entries[],GET /property-typesβdata.property_types[],GET β¦/channelsβdata.channel_bindings[],GET /subscriptionsβdata.subscriptions[],POST /subscriptionsβdata.subscription+data.signing_secret, delivery stats βdata.stats; a group, a property (read, create, update), the catalogue, one channel binding and one subscription aredataitself, notdata.data. Properties carryname_tranddescription_tr.POST /groupsreturns your existing group with200without checking the body. -
Analytics money is
{amount, currency}(the reference saidcurrency_code). -
Configuration surfaces (v2): a list is under one key named after the resource (
data.cancellation_policies,data.extras,data.gallery_items, β¦), and one resource β read, created or updated β isdataitself; the reference saiddata.datafor all of them. Age groups come inside the usual{status, message, data}envelope. -
Lists come under a named key, not
data.data:GET β¦/room_typesβdata.room_types[],GET β¦/rate_plansβdata.rate_plans[],POST β¦/rate_plansβdata.rate_plans[],GET β¦/rate_plans/{id}/ratesβdata.rate_days[],GET β¦/availabilityβdata.availability_days[]. -
One object (read, create, update of a room type or rate plan) is
dataitself, notdata.data. -
Validation errors: each entry under
errors.<field>is an object{key, params}(e.g.{"key": "validation.required", "params": {"attribute": "title"}}), not a string. -
Room types and rate plans also carry
external_*_id(same asid),nameandname_tr; rate plansdescription_tr.partner_codeandpartner_nameare returned on reads. -
occupancy_ratesis an object,{}when empty. -
PATCH β¦/rate_plans/{id}acceptssell_type: per_occupancytoo.
Every endpoint of these groups now has a request and a response example,
and the shared 401 / 403 / 404 / 422 answers have examples too. The guides
now show their curl calls also in PHP, JavaScript and Python (a tab per
language; the choice is remembered).
2026-10-10 β bookings/batch: one guest, several hotels
- New:
POST /v1/qc/bookings/batchβ one booking per hotel for one guest, all or none. Each entry is abookings/from-searchbody with that hotel's ownsearch_token. Everything is checked before anything is written; a refusal names the hotel (property_id). A late failure cancels the bookings already written (cancelled_booking_ids). The answer addsby_due_date: the instalments across the hotels per day, each part with its hotel's payment link β payment stays per hotel. - New:
POST /v1/qc/bookings/batch/previewβ the same without the guest and without writing: per-hotel previews,totals,by_due_date.
2026-10-10 β GET /booking_offers: several hotels in one search
- New:
GET /v1/qc/booking_offersβ the offers search across every hotel your token may sell (or the ones inproperty_ids[]), each through the booking module its hotelier chose. Every hotel answers exactly as its single search does, with its ownsearch_token. Hotels that cannot be searched are listed underskippedwith a reason (no_booking_module,not_found,disabled,booking_module_unavailable). At most 50 hotels per call.
2026-10-10 β the hotelier chooses the booking module partners sell
- New: the hotelier can choose, per property, the booking module partners sell through (the property's Quendoo Connect page in the dashboard).
booking_buttonsthen lists only that module and says so in the newselected_booking_button_id; without a choice it lists every active module (it used to include switched-off ones too).booking_offers:booking_button_idis now optional when a module is chosen β the chosen one is searched. Another id answers404 errors.qc.booking_module_not_allowed. Without a choice it stays required:422 errors.qc.booking_module_required.
2026-10-10 β bookings/preview: the summary step
- New:
POST /properties/{id}/bookings/preview. The same body asbookings/from-searchwithout the guest; answers with each line at the token's price, the extras, the total and the payment plan of the whole booking, merged across rooms. Nothing is written and the search token is not spent. The booking then made carries exactly these figures. - Optional
payment_method_id:payment_plan_with_methodshows the plan after the guest picks that method on the hotel's payment page (a bank transfer's deadline, pay at the property).
2026-10-10 β booking_offers: the payment plan of every offer
- New:
payment_planon every bookable offer, in both formats: the instalments the booking would be made with for that room β amount, due date,auto_cancel_afterβ computed by the code that writes the booking's plan. Show it next to the price; nothing to compute on your side. - Its
currencyis the property's, the one the booking is written in, also when you searched in anothercurrency. - Before a payment method is chosen and for one room alone: several rooms, extras or a method with its own deadline change it β read the final plan from the booking answer.
2026-10-10 β bookings/from-search: the booking says which app sold it
- New:
partner_referenceonbookings/from-searchβ your own number for the booking (letters, digits,.,_,-, up to 21). - New:
referencein the answer. Every booking you make carries the external referenceQCN-<app>-<partner_reference>, orQCN-<app>-<booking code>without one;<app>is the name the hotelier gave your API token. The hotelier sees it on the booking and searches by it; the revision feed sends it asbs_ota_booking_id. - New:
409 errors.qc.partner_reference_takenwhen the property already has a booking with thatpartner_referencefrom your app.
2026-10-10 β booking_offers?format=engine: everything to build your own booking engine
- New:
format=engineonbooking_offers. In one call it returns what the property's own booking engine draws its page from:content(the property, rooms with photos, amenities and bed layout, rate plans, payment methods, terms, currencies, special offers) andresults(every room and rate with price, availability, nightly prices, policies, meal plan, discounts and extras). Every bookable rate has anoffer_id, andsearch_tokenbooks it throughbookings/from-search. - Without
format, or withformat=pms, the answer is unchanged. - New:
guest_ipandguest_user_agentonbooking_offers. Pass your visitor's, and country-targeted rates and mobile promotions apply exactly as on the property's booking engine. bookings/from-searchnow answers withpayment_urlandpayment_plan: send the guest topayment_urlto pay, as with legacy B2B. Each instalment carries its amount, due date, auto-cancel date and its own link.
2026-10-10 β bookings/from-search: book what booking_offers offered
- New:
POST /v1/qc/properties/{external_property_id}/bookings/from-search(scopebookings.write). Send thesearch_tokenfrombooking_offers, oneoffer_idper room, the guest and optionally the extras the search offered. The token decides room, rate, party and price; beforeexpires_atthe price is the one quoted. - The booking's source is the new code
QCN(Quendoo Connect). It follows the booking module's payment and auto-cancel rules, like a booking made on the property's booking engine. - A token works only for the client it was issued to, and only once.
- Quoted in another currency than the property's, the booking is written in the property's currency at its own price, as the booking engine does.
- Nothing is written while the property is not
live(202,dry: true).
2026-10-10 β booking_offers: what a booking button sells
- New:
GET /v1/qc/properties/{external_property_id}/booking_offers(scopeinventory.read). Pass abooking_button_id,checkin,checkoutandrooms[i][adults]/rooms[i][children_ages][]. The answer is the button's offers, priced as the property's booking engine prices them. Each offer has the same fields as PMS v1'sProperty/getBookingOffersand is rendered by the same code. - Each offer also has an
offer_id, and the answer has asearch_tokenwith itsexpires_at(30 minutes). Until then an offer can be booked at the price shown. Book them withbookings/from-search(entry above).
2026-10-10 β Revision payload is PMS v1's booking
- β Breaking: a revision's
payloadis now exactly one booking of PMS v1'sBooking/getBookingsβ same fields, order and types, rendered by the same code β for every booking in Quendoo's book. The previous QC shape (external_booking_id,guest_*,total_priceas{amount, currency},rooms, β¦) is gone from those revisions. Migration: read the PMS v1 fields; a PMS that already integrates PMS v1 parses the payload unchanged. See what a revision payload looks like. - Contacts are not masked in that payload: a PMS checks the guest in.
modifiedfollows PMS v1: a revision is emitted whenever legacy's revision hash changes β payment plans, notes and item changes included, which the previous column watch missed.- Partner ids come from the property's PMS v1 mapping when it has one, otherwise from QC's room-type and rate-plan maps.
- A booking still staged in QC (received, not yet promoted) keeps the older shape until it is promoted.
- Docs: the migration page named wrong URLs for the feed and its ack; corrected.
2026-10-09 β Bookings list and revision ack fixed; documentation corrected
- Fixed:
GET /properties/{ext}/bookingsandPOST /booking_revisions/{id}/ackanswered500for any property holding a booking made in Quendoo itself (source_channelQDO,QDB,QDA,GHA). An un-acked revision stays in the feed, so a correct integration kept receiving the same revisions. Ack them again after this release; acking an already-acked revision is a no-op. - Docs: the quickstart and onboarding write bodies were wrong. They
showed
room_id/date/qty; the availability write takesroom_type_id/date_from/date_to/availability, as the reference always said. - Docs: reads take
from/to, notdate_from/date_to(availability, rates). There is no separate/ratesor/restrictionsread at property level β restrictions come withrate_plans/{id}/rates. - Docs: a write to a
shadowproperty reports0in every counter. The examples showed the counts aliveproperty would report. - Docs: the booking-revision example now shows the real payload β
currency_code,qty, theexternal_*ids to match on, and thesource_channelvalues that occur. - β Analytics answer in the QC envelope.
analytics/overview,bookings,traffic,funnelandcampaignsreturned the bare report body (and[]with no data); they now return{status, message, data}like every other endpoint.analytics/pacereturns its days underdata.pace_daysinstead of a nested{status, data}. - Docs: the extra-service example sent a
client_select_dates_settings.typethat does not exist (422); the values are"0","1","2". - Docs: the revision example on the bookings page showed a shape the
feed never returned (
booking,revision_number,changed_fields); replaced with the real one.
2026-09-02 β Response layer completion: envelope, names, money, PII, pagination, filters
Consolidated a week of touch-ups on the QC response contract into one changelog entry so partners see the full picture from one read. Additive across the board unless flagged; the shape rules are now consolidated in one page β see the new Wire conventions.
- Envelope flattened everywhere. Every list response now has
shape
{data: {<resource_plural>: [...], meta: {...}}}and every single-item response has{data: {...}}flat. Pre-sweep responses were{data: {data: X}}(double-wrap). Migrated callers should readdata.<plural>(e.g.data.properties,data.bookings,data.rate_plans,data.webhook_deliveries) instead ofdata.data. name+name_tron every named entity. Property, room type, rate plan, extra, cancellation policy, payment policy, promotion, special offer β each response now carries the hotelier-setnameplus aname_trtranslation map keyed by IETF locale tag. Entities without translation columns on the legacy side (payment policy, promotion) emit a one-locale projection{"en-GB": "<name>"}for uniform iteration.external_*_idcanonical field alongsideid. Every externally-addressable resource emits both β path parameters use the same name as the canonical field (external_property_id,external_room_type_id,external_rate_plan_id).idstays as a back-compat alias.- Money wrapped as
{amount, currency}. Every monetary field (bookingtotal_price,rooms[].price,extras[].price, and every analytics field likerevenue,adr,revpar,total_paid) now ships as an object with amount and currency together. Booking rows keep a top-levelcurrencyconvenience key; individual price lines carry their own currency so a partner storing lines in their own DB doesn't have to look outside the row. - PII masking on guest fields.
guest_name,first_name,last_name,email,phoneonBookingResource,ReviewResource, and every analyticscampaigns/pacepassthrough now go through the shared masker:Ivan PetrovβIvan P.,ivan@β¦βi***@***,+359881234567β last two digits kept. Aggregates and monetary fields pass through unchanged. - Pagination on the endpoints that grow.
GET /properties,GET /bookings,GET /subscriptions/{id}/deliveries,GET /auto_email_templatesgained?page/?limit+meta: {total, page, per_page, last_page}. Small per-property lists (room types, rate plans, policies, extras, gallery items, special offers, content pages, amenities, property types) stay unpaginated by design. The booking revisions feed keeps cursor pagination. - Rich filters on bookings.
GET /bookingsacceptsbooking_status(single value OR array),source_channel,guest_name(case-insensitive substring),booking_id(partial match), plus the six pre-existing date filters. Malformed values are dropped, not 422. - Rich filters on deliveries.
GET /subscriptions/{id}/deliveriesgainedcreated_from/created_toon top ofstatus. - Two orthogonal booking status axes.
Booking.statusnow carries QC pipeline lifecycle (staged/promoted/rejected/duplicate), aliased to canonicalprocessing_state. Newbooking_statusfield carries the BUSINESS state (created/confirmed/cancelled/no_show) derived from terminal timestamps β this is what integrators want to render.statusstays deprecated-alias toprocessing_state.
Ops changes
- Admin-side revoke for
qc_api_tokensβ support flow when a hotelier can't reach their own dashboard. - Admin-side OAuth clients CRUD with in-place secret rotation
(
qc_oauth_clientsFilament resource). Every lifecycle event (create / edit / delete / rotate) writes an audit line toapplication_events. - Smoke commands on the artisan side β
qc:smoke:oauth,qc:smoke:rate-limit,qc:smoke:webhookβ for on-demand pre-launch handshakes with new partners. See the new partner onboarding runbook (internal).
Behind-the-scenes
The QC calendar write path and the dashboard's own calendar write
path are being merged into a single kernel service (Stage 6 on
our roadmap). Step 1 β the interface + scaffold β landed with
no caller migration; no partner-visible behaviour change today.
Steps 2-4 (route QC through the kernel; route dashboard behind a
staged rollout flag; retire the old paths) are on a separate
2-3 week track.
2026-08-31 β Docs: endpoint-level scoping, analytics scope, age-groups reference
Reference coverage caught up with the code that shipped this sprint. Docs-only β no wire change.
- Endpoint-level scoping
is now written up on the auth page: how
endpoint_scopesnarrows a token below its scopes (the two layers are ANDed, it only ever narrows), theqc.<resource>.*wildcard and its dot boundary, minting a narrowed token, and theGET /v1/qc/permissionsroute catalogue that entries are validated against.errors.qc.endpoint_not_allowedwas already in the dictionary. analytics.readnow appears in the scopes table, and the Analytics page is now linked from the docs index (the six reports themselves shipped earlier this sprint).- Age groups β the
GET/PUT /age-groupschild-band surface (I/C/T) is now documented as a first-class configuration surface, witherrors.qc.age_group_range_invertedadded to the dictionary.
2026-08-31 β Stage 6 calendar-cores convergence plan parked
resources/docs/qc/stage-6-calendar-convergence-plan.md documents
the follow-up work Gorian's 2026-08-31 summary left as
"Π€ΠΈΠ½Π°Π» ΠΏΠΎΡΡΠ° β Stage 6 + Phase 5". Everything shipped in this
sprint (PRs #2400 β #2411) lands cleanly on the existing dual-core
arrangement β Stage 6 is a 2-3 week refactor that consolidates the
QC and dashboard calendar-write paths through a single kernel
service. Migration order, invariants to preserve, and a GrowthBook
rollout gate are pinned in the plan doc; the actual code work
belongs to its own ticket.
2026-08-31 β Age-groups on a property (last pricing layer)
GET + PUT /v1/qc/properties/{ext}/age-groups. Reads /
partial-updates the property's I (Infant) / C (Child) / T
(Teen) brackets β the from_age / to_age bounds the pricing
engine uses to route a guest of age N into the right slot on every
quote (ChildrenGroupsResolver).
Wire cleans up the legacy '0' / '1' is_active strings to
booleans and returns groups in canonical I/C/T order (matches the
resolver, deterministic for UI snapshots).
PUT is idempotent + returns a preview block:
{
"is_active": true,
"groups": [...],
"preview": {
"is_active_changed": false,
"changed_groups": ["C", "T"],
"reprice_note": "Quote endpoints read children_settings on every request; the new brackets take effect on the very next quote. Bookings already saved with a resolved price are unaffected."
}
}
An inverted range (from_age > to_age) is rejected with
errors.qc.age_group_range_inverted before write.
Scope: properties.manage. Property must be in the token's
allow-list.
2026-08-31 β Analytics via QC (Layer F)
Read-only proxy over the same analytics service the hotelier dashboard uses, with three deliberate departures that make it safe to hand a machine token to a PMS partner (Gorian's 2026-08-31 spec):
widget_codesare never accepted on the wire. Resolved server-side from the token's active property set Γ the widget ownership table.- PII on customer-level payloads is masked on the
bookingsendpoint.name β "Ivan P.",email β "i***@***",phone β last 2 digits. Aggregates pass through unchanged. - Money is native + code. Every monetary value ships as
{amount, currency_code}β the upstream does NOT converttotal_paid(each row in its property's own currency), so a bare number was a data-integrity trap.
Six GET endpoints under
/v1/qc/properties/{external_property_id}/analytics/β¦:
overview, traffic, funnel, campaigns, bookings, pace.
All require the new analytics.read scope + the property being
addressed to be in the token's property allow-list.
New surface bits: QcScope::AnalyticsRead, MoneyAmount value
object, PiiMasker application service.
See concepts-analytics.md for the full endpoint contract and
qc-v1.yaml for the wire schemas.
2026-08-31 β Endpoint-level token narrowing (Layer 3b β catalogue + naming)
Second half of the scope Γ endpoint Γ property model. Layer 3a
shipped the gate + storage; Layer 3b makes the vocabulary real:
- Every authenticated QC route is named
qc.<resource>.<action>β 98 of them across the three middleware groups (reads, config-writes, inventory-writes). The name is what a token'sendpoint_scopesentry matches against. GET /v1/qc/permissionsβ new catalogue endpoint. Any authenticated token can read the live list of route names, HTTP methods, URIs, and the scope each route requires. Introspected fromRoute::getRoutes(), so the catalogue never drifts from the code. A UI reading this powers the token-mint form's endpoint-scope checkboxes.- Boot-time guard test β
QcRouteNamingGuardTestiterates the route table on every CI run and fails loudly if anyqc.auth-gated route lacks aqc.*name or aqc.needs:<scope>middleware (with a small allowlist for discovery reads:property-types,amenities, the catalogue itself, andproperties.{index,show}where the concept doc pre-committed to "no scope needed"). A new endpoint that forgets either lands as a red PR before it ships β no more silent holes. - Mint-time validation β
POST /api/v1/pem-systems/qc/api-tokensnow checks everyendpoint_scopesentry against the live catalogue. An unknown name / wildcard prefix returnscustomer.qc_api_tokens.errors.unknown_endpoint_scope(same principle asscopes.*validation β a typo yields a token that admits nothing, which is the worst UX to debug).
Wire-level: an existing token with no endpoint_scopes is
completely unaffected β the empty-list bypass from Layer 3a
still stands.
2026-08-31 β Endpoint-level token narrowing (Layer 3a β infra)
Foundation for scope Γ endpoint Γ property, the third leg of the
QC authz model. Every QC credential (bearer + OAuth client) can
now carry an endpoint_scopes list β a per-route allow-list on
top of the existing scope check. Empty list = no endpoint
restriction (every existing token stays fully functional; the
new gate is strictly opt-in at mint time).
How it composes: RequireQcScope runs scope check first
(as before). On success, if the token's endpoint_scopes list is
non-empty, the request's route name must match an entry β either
exactly or under a qc.<resource>.* wildcard. Miss β 403
errors.qc.endpoint_not_allowed (distinct from
insufficient_scope so callers can tell "wrong scope" from
"wrong endpoint under the right scope"). Miss on scope
short-circuits before the endpoint check ever runs, so a
mis-populated endpoint_scopes list can never widen access.
Auto-incorporation: qc.promotions.* covers every future
qc.promotions.<x> endpoint we ship, so partners don't need to
re-issue tokens as we grow the surface. The wildcard prefix
boundary is a literal . β qc.rate_plans.* never leaks into
qc.rate_plans_v2.*.
This is Layer 3a β the infra half. Layer 3b (naming all 108
existing QC routes + a GET /v1/qc/permissions catalogue +
boot-time guard test + endpoint_scopes validation on mint)
ships as a separate PR since it touches the whole route table.
Until Layer 3b lands, endpoint_scopes populated in the DB will
still work β the middleware reads it β but the token-mint UI has
no vocabulary yet, so any list has to be entered raw.
2026-08-31 β Derived (child) rate plans can be created via API
POST /properties/{ext}/rate_plans accepts two new optional
fields β a partner can now create a real derivative rate plan
without a dashboard round-trip:
parent_rate_plan_idβ the QC external id of the parent plan. Resolved server-side to the underlying legacyrate_idand validated against the same-property invariant (a cross-property parent returnserrors.qc.parent_rate_plan_not_on_property).derivationβ the adjustment applied to the parent's calendar to compute the child's prices. Wire shape:
Each period expands into one{ "type": "dec_per|dec_abs|inc_per|inc_abs", "amount": 15, "periods": [{ "from": "2027-05-01", "to": "2027-09-30" }] }active_periods[]row forCreateRatePlanβ every downstream guard (dec_per β₯ 100refused,dec_abs β₯ effective baserefused, cycle-depth refused) still runs. Aderivationwithoutparent_rate_plan_idis refused witherrors.qc.derivation_requires_parent.
QC calls pass advancedConfigAllowed=true to CreateRatePlan β
the customer-group advanced_rate_plan_config paywall is a
hotelier-flow concern; QC clients are contracted partners.
Response echoes parent_rate_plan_id in every returned mapping
so the partner can round-trip the derived-plan id it just minted.
Combined with the price-write guard shipped in the same batch,
the full derived-rate lifecycle is now API-round-trippable.
2026-08-31 β Derived rate plans refuse price writes
Both QC price-write doors now refuse to accept prices for a rate
plan whose underlying legacy row has has_parent_rate = 1:
POST /properties/{ext}/rate_plans/{id}/ratesβ a row that carriespricesfor a derived plan is refused per-row witherrors.qc.price_on_derived_rate; the row echoes theexternal_rate_plan_id+ theattempted_codesmap so the partner can self-correct. Restrictions in the same row are refused with the row; send them in a separate row that carries nopricesto write restrictions on a child.POST /properties/{ext}/inventory/ratesβ the same guard, as awarnings[]row (batch does not abort). When the child's parent IS mapped to QC, the pre-existingprices_belong_to_parentwarning still fires with the redirectparent_rate_plan_id; the newprice_on_derived_ratecovers the case where the parent is unmapped (no id to redirect to).
Why: UpdatePrices::executeBatch (MNG-170) strips prices on
child plans at write time β the next chain-resolve would overwrite
anything the QC surface accepted anyway. Silent accept-then-lose
violates the QC "no silent drop" doctrine (same rule as Finding 1
from the 2026-08-28 e2e). Restrictions on child plans live on
their own row and remain independently writable.
Wire-level: additive on the write paths β a partner that never pushes prices to a child sees no change.
2026-08-31 β Promotions request body β typed OpenAPI schema
POST / PATCH /properties/{ext}/promotions no longer document
their body as additionalProperties: true. The
PromotionInput schema in qc-v1.yaml now names every field,
enum, and cross-field invariant, so a partner or a code
generator reading the spec knows exactly what to send β
no more "guess through 422".
Wire-level: nothing changes. PromotionQcRequest was already
the source of truth server-side, and the schema is a faithful
projection of it (including the resv_to_time > resv_from_time
QC-only rule with "00:00" / "24:00" bypass and the
mobile-type stay-conditions exception).
A separate follow-up will do the same treatment for
payment_policies, cancellation_policies, extra_services,
and content_pages.
2026-08-31 β Brand-new property auto-seeds default policies
POST /rate_plans no longer returns errors.qc.policies_missing
when the property has no payment or cancellation policy yet.
Legacy behaviour was "hotelier must click Create Policy manually"
before the API can create a rate plan β a partner who is
provisioning everything through the API can't clear that step.
The call now inserts a placeholder of each kind at request-time before creating the rate plan:
- Payment β
name = "API default β pay on arrival", schedule{pay_type: on_arr, amount_type: tp}. The full trip is paid on arrival β no prepayment is captured, so nothing needs refunding if the guest cancels. - Cancellation β
name = "API default β non-refundable", empty schedule. Legacy semantics treat an empty schedule as fully non-refundable β the strictest and safest default for the hotel.
Both rows are indistinguishable from hotelier-created rows in the
schema (there is no is_default marker), but the API default β
prefix in the name makes them obvious in the dashboard so the
hotelier renames them the first time they log in. A repeated
POST /rate_plans against the same property does NOT re-seed β
firstIdForProperty short-circuits before every create.
Explicit payment_policy_id / cancellation_policy_id on the
request still win end-to-end; only the omitted side falls through
to the seed.
β Breaking (behaviour, not wire): partners who previously
depended on the 422 as a signal to trigger a manual
"create-policy" flow no longer see it. errors.qc.policies_missing
is retired from the surface. Partners can still POST explicit ids
if they need a specific policy shape.
2026-08-31 β Account-scoped tokens
The final gap Gorian flagged in the 2026-08-28 prod smoke β a credential minted before a hotel is enrolled 403-s on the new hotel β now has an answer that doesn't need a rotate.
Every credential (bearer qc_β¦ and OAuth client) can be minted
account_scoped: the fixed property_ids list is skipped, and
AuthenticateQcRequest resolves the customer's live set from
qc_property_maps Γ qc_groups on every request. A property
enrolled after the credential was minted is reachable within the
next call; a disabled property or a paused group drops out at the
next call too. The customer boundary is enforced in the SQL join,
so nothing crosses accounts.
- Bearer tokens β
POST /api/v1/pem-systems/qc/api-tokensaccepts a newaccount_scoped: true.property_idsin the same body is deliberately ignored (a static list would drift the moment a new hotel enrols). The store() response and the show() read carryaccount_scoped: truealongside the emptyproperty_ids, so the dashboard can render the mode without guessing. - OAuth clients β
qc_oauth_clients.account_scopedis stamped at client creation.POST /v1/qc/oauth/tokenresponses on such clients returnproperty_ids: nullandaccount_scoped: true; the JWT itself is unchanged. The middleware re-checks the flag each request β a client is free to be flipped account-scoped on its very next issued JWT without a partner-side rotate. - Fixed-scope tokens are unchanged. Legacy callers who never pass the flag still see the exact behaviour they had yesterday; the middleware skips the group resolver entirely when the flag is false, so there is no per-request cost.
Explicit empty property_ids on a non-account-scoped token stays
deny-all β the account-scoped path is opt-in, not a re-reading of
the empty-list case.
See concepts-auth.md Β§ Account-scoped tokens for the decision
tree and the exact wire shapes.
2026-08-28 β Create-time pricing model layers C + D land
Closes the epic Gorian scoped after the prod e2e review. Layers A / B / E landed in an earlier PR today; the remaining two are now on dev.
Layer C β optional explicit occupancies in POST /rate_plans.
Wire shape (per Gorian's design):
"occupancies": [
{"code": "A2"},
{"code": "A1", "pricing": {"derived_from": "A2", "adjust": "-10%"}}
]
pricing.adjust is [sign][number]% for a percentage or bare
number for a flat amount; missing pricing = manual.
Translated to legacy rooms_rates.settings by a new
QcOccupancyWireTranslator VO (7 unit tests, 7/7 pass).
RoomRateRepository::create gains an optional ?array $settings
param β matches the existing update() shape. Multi-room +
occupancies returns errors.qc.occupancies_require_single_room
because a hand-written list cannot fit heterogeneous rooms; the
auto-derive path (Layer B) covers multi-room.
Layer D β PUT /rate_plans/{id}/pricing-model. Idempotent,
declarative escape hatch. Body:
{ sell_type, occupancies?: [...] }. Walks every non-deleted
rooms_rates row for the plan, reads per-row _version, calls
RoomRateRepository::update with either the wire settings
(single-room) or null (auto-derive per room). Mirrors
sell_type onto the QC-side QcRatePlanMap when it changed.
Derivative rate plans (has_parent_rate=1) carry no rooms_rates
and are skipped by construction. Response echoes
pairs_updated + explicit_occupancies for observability.
Docs β concepts-pricing gains a section per layer (create-time
optional occupancies, declarative pricing-model reset). OpenAPI
extended.
2026-08-28 β Create-time pricing model + Finding 1 error echoes vocabulary
Design agreed with Gorian after the prod e2e review: set the pricing model at rate-plan CREATE, not as a separate step. Closes Finding 2 in the natural place.
Layer A β sell_type accepted on POST /rate_plans.
The rule was in:per_room; relaxed to
in:per_room,per_person,per_occupancy. The controller now
maps the wire name to legacy sell_type INT once
(sellTypeToLegacy helper) and passes it into
RoomRateRepository::create for every room in the request.
Layer B β occupancy vocabulary auto-derives from bed
capacity. When sell_type is per_person /
per_occupancy, RoomRateRepository::create feeds each room's
acm_settings blob into buildSettings; the standard
A1/A2/AEB/CRB/β¦ vocabulary materialises then and there. No
hand-list needed; heterogeneous multi-room requests get the
right per-room vocabulary per row. Closes Finding 2 β a
partner PMS + AI agent can create a real per_person pair in
one declarative call without a dashboard step.
Layer E β unknown_acm_code rejections echo allowed_codes.
Same error shape as before ({code:'unknown_acm_code', unknown_code:'A1', date:'β¦'}) but the row now also carries
allowed_codes β the pair's full legal set. A partner can
self-correct without a second GET /rate_plans/{id} call. 1
new unit test on top of the Finding 1 baseline (13/13 pass).
Docs cleaned up: the "per-person needs a dashboard step"
warning was replaced with the new create-time flow. The
migration guide and Property/getPropertySettings reference
follow the same lead.
OpenAPI updated: POST /rate_plans sell_type enum now lists
all three; POST .../rates unknown_acm_code error row
documents allowed_codes.
Deliberately parked as the next scoped chunk of the same epic:
- Layer C β optional explicit
occupanciesonPOST /rate_plansfor the single-room / custom-derived case. - Layer D β
PUT /rate_plans/{id}/pricing-modelidempotent escape hatch for the ~10% of cases where the auto-derived vocabulary needs a per-pair override (heterogeneous multi-room, custom fees).
2026-08-28 β Audit follow-ups on the consolidated read
Self-audit on the same-day period-pricing read caught 5 real issues, all fixed together:
- Range cap now lifts to 730 days for
?consolidated=1β previously inherited the per-day 90-day cap, contradicting the "pull a year" use case the endpoint was designed for. The wire volume is bounded by distinct period count, not day count, so 730 days per call is safe. - Price equality is normalised β
ksort+ numeric-cast before comparing. Two consecutive days carrying the same vocabulary in different key order OR with int-vs-float representations of the same value no longer split into separate periods. - Restriction changes do NOT split periods β design intent documented + tested (was implicit before).
- OpenAPI updated β the
consolidatedquery param, the two-shape response, and theunknown_acm_codeper-row error code (with theunknown_codefield) are now on the spec. - Docs cross-linked β the per-person bed-layout caveat now
gets a call-out on both the migration guide and the
Property/getPropertySettingsreference so partners moving from PMS v1 see it.
Also tightened: unknown_acm_code error message uses ASCII
(rate_plan, room_type) pair (Unicode Γ was log-unsafe);
vocabularySet docblock now reflects that values are the
array_flip index (unused; only key existence is checked).
5 new unit tests (14/14 pass on RatesControllerIndexTest):
- key-order insensitivity
- int-vs-float insensitivity
- restrictions ignored on grouping
- 730-day range allowed on consolidated
- ranges beyond 730 still rejected
2026-08-28 β Consolidated period-pricing read + per-person bed-layout caveat
Two follow-ups from the prod e2e review 2026-08-28.
New β consolidated period-pricing read.
GET /rate_plans/{id}/rates?consolidated=1 returns the same
per-day data collapsed into {from, to, prices} periods per
(rate_plan Γ room_type) pair. Consecutive dates carrying byte-
identical prices maps merge into one row; a gap day (empty
prices) closes the current period and does NOT reopen it β
the next non-empty day starts a fresh period. A partner
pulling a year gets a handful of periods instead of 365 rows.
Restrictions are NOT part of the equality key in this pass;
combine with the per-day read to reconcile restriction changes.
4 new unit tests cover the identical-run merge, the price-change
split, the gap-and-reopen case, and the empty-calendar case.
Documented β per_person pairs need a dashboard bed-layout.
The A1/A2/AEB/CRB/β¦ vocabulary is computed from the room's
acm_settings (bed layout). Today the API does not expose the
bed-layout write, so a partner PMS can create a room + rate plan
- flip
sell_typethrough the API alone but the pair won't have a real per-person vocabulary until someone opens the Quendoo dashboard and configures the bed layout. See the new per-person pairs need a bed layout section for the current end-to-end sequence.
2026-08-28 β Rates write validates the occupancy vocabulary
POST /rate_plans/{id}/rates used to accept any occupancy code in
prices and pass it verbatim to the underlying writer β which
silently dropped codes not on the rate_plan Γ room_type pair's
vocabulary. Response reported accepted:1, errors:[] and the
values vanished. Reported by prod e2e testing 2026-08-28.
Now every code in prices is checked against the pair's
vocabulary (resolved once per batch via
RoomRateRepository::acmCodesByPairs). Codes not in the
vocabulary land in the per-row errors[] array as
{code:'unknown_acm_code', unknown_code:'A1', date:'β¦'} and do
NOT count as accepted.
A pair with no configured vocabulary (rare β no rooms_rates row
yet, e.g. mid-setup) skips validation so the fix isn't a
regression for the parity harness or the legacy bridge that
touch such pairs during setup.
RoomRateRepositoryInterface gains acmCodesByPairs so the
controller depends on the Domain contract, not the Infrastructure
class. See error dictionary
for the full per-row error catalogue.
2026-08-28 β Layer 4 event emitters + observer wiring + concepts-bookings + OpenAPI
Three parallel workstreams:
Layer 4 emitters. QcEventEmitter now carries a method per
QcWebhookEvent case β the enum is 35 events strong, 18 method
stubs were missing. Every emitter method reads as one line at the
call site ($this->emitter->bookingCancelled($pid, $payload))
and cannot address a non-existent event because the method name
is enum-driven.
QcInboundBookingObserver now fires webhooks alongside its
revisions on the four transitions that already emit revisions:
booking.created on stagedβpromoted (existing), plus
booking.cancelled on cancelled_at write, booking.no_show
on no_show_at write, and booking.modified on any watched-
column dirty check. One transition = one revision + one
webhook, or neither if the property map has already been
retired. Three new unit tests cover the added webhook paths;
the three original revision-focused tests were adjusted to
stub findById β null so the webhook side silently no-ops
without expectations churn.
concepts-bookings enrichment. Adds full sample revision
payload (with changed_fields hint, echoed partner codes),
ordering guarantees (in-booking ordered by revision_number,
across-booking unordered, webhooks unordered by design),
reconciliation patterns (feed catch-up as default, weekly
snapshot reconciliation), status catalogue (tentative /
confirmed / cancelled / no_show / checked_in / checked_out),
cancellation block (who cancelled, reason_code,
policy_snapshot at booking time, fee_charged), the
bookings/health counters (last_revision_at,
pending_revisions_count, ack_lag_seconds), and the
what-we-don't-do trailer.
OpenAPI qc-v1.yaml. Adds two new common responses β
IdempotencyConflict (409) and RateLimitExceeded (429) with
the full header set β plus a components/headers block that
documents every cross-cutting response header the spec was
missing: X-RateLimit-{Limit,Remaining,Reset,Bucket},
Retry-After, Idempotency-Replayed,
Idempotency-Original-Timestamp, X-Qc-Request-Id,
X-Qc-Support-Ticket.
2026-08-27 β Domain model concept enrichment
concepts-model picked up three
sections it was missing:
- Bidirectional-ids β dedicated section anchoring the URL contract that used to be a passing mention: canonical UUID first, then partner_code fallback, with practical examples for property / room_type / rate_plan.
- Mode lifecycle β full table for legacy / shadow / live /
disabled with the practical transitions (
legacy β shadow β liveforward;disabledfreeze from any state;live β shadowpost-incident-audit path). - Occupancy taxonomy β default vs Qc-Rich-Occupancy β the
simple
{adults, children, infants}default vs the rich header- opt-in taxonomy for PMSs that model bed layouts in detail.
2026-08-27 β Inventory concept enrichment
concepts-inventory picked up
five sections that were previously scattered or missing:
- Restriction fields β what each one gates, with a per-field
table clarifying the check-in-date anchor for
min_los/max_losand the "stop_sell beats everything" precedence. - Rates go with occupancy codes, pointing to the pricing concepts page and noting rate-plan Γ occupancy-key validation.
- Reading what you pushed back, with the three mirror-read endpoints and the "free capacity vs raw qty_offered" semantic.
- Racing writers β last write wins, with the natural-key idempotence rationale and the pattern for a partner that MUST guarantee ordering.
- The parity harness β how shadow writes are verified, with
the
qc_parity_observationpointer.
2026-08-27 β Rate-limits + environments + recipes
Three more concept pages that were previously scattered across concepts-auth and SLA.
- Rate limits β full behaviour: the
four buckets (reads / config-writes / inventory-writes /
webhook-fanout), what every
X-RateLimit-*header means, what counts (every 4xx you triggered, retries after 5xx, replays within idempotency), what does not (401/403 auth failures, OPTIONS preflights, health endpoints), 429 vs SLA availability clarification, three pacing patterns (low-watermark, aligned- burst, exponential + jitter retry), and what we deliberately don't do (no credit rollover, no half-writes, no per-property limits below account). - Environments β production vs staging, disposable-property reset endpoint, what's simulated in staging (payments, emails, webhook allow-list), isolation guarantees (auth, subscriptions, data, rate-limit buckets), and the differences that will bite (latency, data volume, staging tier fixed at Free trial).
- Recipes β copy-pasteable workflows for what a running integration does every day: nightly inventory sync, promo creation, poll-and-ack loop with a crash-safe idempotency key shape, room assignment, catalogue onboarding, webhook verification pointer, webhook secret rotation with 24h overlap, PMS v1 shadow-diff debug pointer, and how to correlate our request ids with your PMS logs.
2026-08-27 β Quickstart + idempotency deep-dive
- Quickstart β five-minute cheat sheet under Getting started (before the full integration guide): token β property β inventory push. Aimed at "does this work at all" first-run, with a "common first mistakes" trailer.
- Idempotency β dedicated deep-dive
under Concepts. Full contract with the three outcomes on retry
(replay / 409 conflict / fresh op), what "same response" means
(down to
Idempotency-Replayed/-Original-Timestampheaders), the 24 h hard TTL, the Redis-outage failure mode we picked and why, how to CHOOSE a key (per-logical-op, not per-HTTP-call), concurrent-retry lock semantics, and a curl cheat sheet showing replay + 409 conflict end to end.
2026-08-27 β Migration guide PMS v1 β QC
New migration-from-pms-v1 page: end-to-end PMS v1 β QC map. What actually changes (auth / response shape / errors / idempotency / scoping / limits / webhooks / docs versioning), endpoint-by-endpoint mapping table per surface (availability, bookings, property/catalogue), the three-move minimum to get started (OAuth client β read property once β repoint one endpoint), and an FAQ addressing "can I run both at once", "will PMS v1 shut off", "does api_key keep working".
Linked from the index Where-to-start block and from the PMS v1 facade overview.
2026-08-27 β Dedicated webhooks page + PMS v1 byte-strict error catalogue
Two things partners kept asking for that were half-answered.
- Webhooks β its own concept page. The
four-step verification recipe (freshness β HMAC β idempotency β
scope) explained inline, and full verification snippets in
Node.js, Python, PHP and curl. Delivery shape with every
X-Qc-*header documented, retry ladder + auto-disable rule (72 h consecutive non-2xx), event-catalogue highlights, health endpoint, and what we deliberately don't do (no signed URL params, no IP allow-list, no mTLS out). - PMS v1 byte-strict error catalogue merged into the
error dictionary. Every legacy error
string we're byte-preserving now lives in one grep-able table
per method plus the general v1 wrapper (
Wrong api key,Missing endpoint class/method, the 404-with-throwable-dump wrapper). Log-scrapers on the PMS side can anchor on the exact literal, not the sentence-case English we happen to render on the reference page.
2026-08-27 β PMS v1 method reference β every method covered
Closes the PMS v1 reference set. Three more setup-time methods:
Property/postExternalPropertyDataβ full replacement snapshot of the PMS's own catalogue (rooms / rates / services / meals / beds) with{id, name}per entry; onboarding + on-catalogue-change.Property/getPropertySettingsβ one-shot read of Quendoo's whole property with anamesfilter for the ten top-level keys.Property/getRoomsDetailsβ canonical room catalogue with layout counts and image URLs.
Every registered PMS v1 method now has its own reference page. The facade overview's method catalogue links them all.
2026-08-27 β PMS v1 method reference β five more
Five more dedicated reference pages under the PMS v1 (legacy compatibility) section, in the shape the getBookingOffers page set:
Availability/updateAvailabilityβ full payload, bounds,add_qty_bookedsemantics, every byte- strict error string legacy returns.Availability/getAvailabilityβsysres=qdo|extkey semantics, silent-omission rule for unmapped rooms.Booking/getBookingsβ the revisions feed, ack filter, the two revisioning eras (id β₯ 161300new vs. old MD5 hashing), polling cadence advice.Booking/ackBookingβ revision matching, per-item ack shape, the "first PMS to touch wins" rule, why re-acking errors.Booking/postRoomAssignmentβ room number + self check-in code, thecustomers_events_logside effect.
Only three PMS v1 methods left to document
(Property/postExternalPropertyData, getRoomsDetails,
getPropertySettings). The facade overview page's method
catalogue now links every documented one directly.
2026-08-27 β SLA draft + docs typography aligned with widget
- New SLA page as a draft for product sign-off. Fills in every number a partner asks for before signing: uptime target (99.9% monthly with per-bucket measurement), response-time p50/p95/p99 per surface, credit schedule (10/25/ 50/100% by uptime band), tier-scoped rate limits (Free trial / Standard / Growth / Enterprise), maintenance windows (Sun 04:00β 05:00 UTC), incident cadence (ack β€ 15 min, updates every 30 min, post-mortem in 5 business days), support severity ladder (P0 ack 15 min 24Γ7 β P3 2 business days), retention (13 months bookings feed / 90 days webhook deliveries), and sunset (12 mo minimum per major, 6 mo overlap).
- Docs typography now shares the booking widget's own type
language: Open Sans body (Google Fonts,
display=swapfor no FOIT), and the 28 / 22 / 18 / 16 / 14 / 11 six-step ramp that matches the widget's--tpl3-font-size-{xl,l,m,def,s,xs}. Docs and the surface partners' guests actually see now feel like one product even in a side-by-side tab.
2026-08-27 β PMS v1 facade docs
Two new partner-facing pages:
- PMS v1 facade β how the legacy
apc-integrator.phpsurface is being taken over method-by-method under a byte-parity guarantee, and how the shadow/live cutover works per api_user. Includes the full method catalogue. - Property/getBookingOffers
β first dedicated method reference: query params, error strings,
response shape and per-field semantics,
accommodation_namecomposition rules,linkbuilder behaviour.
Both are linked from the docs index, sit under a new "PMS v1 (legacy compatibility)" section in the sidebar, and are indexed by the search input.
2026-08-27 β getBookingOffers v2 slice + bidirectional-id closes
Property/getBookingOffers now emits real accommodation_name and
link fields instead of the placeholders the first slice shipped:
accommodation_nameports the legacy composition (translations/languages_booking/.default.json+ thenumAdults / onBed{RB,EB,NB} / onAgeRange / maxRoomOccupancy, accommodationPerRoomphrasing). English-only for now; other locales come with the shadow-diff pass.linkmirrors the legacygetCustomUrlLinkURL builder:custom_domains WHERE service='bk' AND url_key=?for a partner custom domain, otherwise a relative/{url_key}/search/β¦.
The class is registered on the local PmsV1Controller β but only
in shadow mode. Live cut-over stays gated per-api_user via
qc_v1_cutover.mode='live'; today's commit does not flip anyone.
Bidirectional-id URL matching also closed at the room-type and
rate-plan level β the URL segment under
/properties/{external_property_id}/room_types/{external_room_type_id}
(and the rate-plan equivalent) now accepts either the canonical
external UUID or the partner_code, matching what the property
level already did on 2026-08-26.
2026-08-27 β Bidirectional-id contract completed (URL side)
Every URL segment that accepts an external_property_id now also
accepts a partner_code as a fallback. Previously the docs
described a bidirectional mapping ("addressable by external_property_id
or partner_code where supported"), but the routing only accepted
external_id β a partner PMS that wanted to address our resources by
its own code hit 404. ScopeQcRequest middleware now:
- Tries
QcPropertyMapRepositoryInterface::findByExternalId(...)as before. - Falls back to a new
findByPartnerCode(...)on miss.
Partner codes are unique per QC group, so the lookup is unambiguous. Empty string is guarded against (would loose-compare to NULL columns in MySQL).
Room-type and rate-plan level partner-code URL resolution is on the same iteration path β track under DEV-262 follow-ups.
2026-08-26 β Configuration surfaces (v2)
Added 12 dashboard-parity CRUD surfaces so a partner PMS can onboard a hotel end-to-end without asking anyone to open the Quendoo dashboard. See configuration concepts.
- Extra services β
/properties/{ext}/extra_services.nameOR at least one non-emptyname_trlocale required on POST. - Promotions β
/properties/{ext}/promotions. Cross-field rules reused with the dashboard;resv_from_time < resv_to_timewith00:00/24:00midnight sentinels as a QC-only tightening. - Payment policies β
/properties/{ext}/payment_policies. Conditional required bypay_type(af_res/be_arrneednum_days;be_datneedsdate). DELETE returns 409errors.qc.payment_policy_in_usewhen still bound to a rate plan. - Cancellation policies β
/properties/{ext}/cancellation_policies.data[]items enum-whitelisted (c_typeΓp_type), visibility-driven required forp_days/p_date/p_value, cap 50 rules. - Amenity catalogue β
GET /amenities. Read-only reference. - Auto-email templates β
/auto_email_templates(owner-scoped).property_ids[]must be a subset of the OAuth client's granted set; a cross-tenant id returns 422errors.qc.property_id_not_granted_to_client. - Gallery β
/gallery. Upload / register / retag / delete. DELETE returns 409 with ausages[]list;?force=1severs usages and deletes anyway. - Reviews β read + reply only (
/reviews,/reviews/{id}/reply). Reviews come from the connected OTA channels; create / delete are not partner concerns. - Content pages, guest feedback β
/properties/{ext}/content_pages,/properties/{ext}/guest_feedback. Content-page DELETE also strips the deleted page's reference from the property'sguest_guide.data.content_items[](DEV-234) so the editor doesn't error on zombies. - Booking buttons discovery β
GET /properties/{ext}/booking_buttons. Lightweight options list; cache it once at onboarding to know which pbb_ids you have. - Special offers β
/booking_buttons/{pbb_id}/special_offers(nested for list/create),/special_offers/{id}(flat read/update/delete).active_from_date+active_to_daterequired (an open-ended offer would keep firing after the campaign ended);rate_plans_ids[]non-empty;sfp.min_nights β€ sfp.max_nights.
Also:
- Idempotency β every write on the surfaces above honours
Idempotency-Keywith 24h memory. Replay with the same key + body returns the cached response plusIdempotency-Replayed: true; same key + different body returns 409errors.qc.idempotency_conflict. - New error keys β see the error dictionary.
2026-08-26 β Phase 3, per-code price writes
POST inventory/rates accepts prices maps keyed by occupancy
code for every sell type, validated against the pair's
occupancies; child-plan and non-manual refusals come back as
row-level warnings[] (202, batch never aborts); writing a manual
code seeds calendar rows for its derived codes.
2026-08-26 β Phase 2, the pricing self-description
occupancies (code / kind / derived_from / modifier) and
prices_writable on rate plans; partner_code / partner_name
readable on room types and rate plans; sell_type gains
per_occupancy.
2026-08-25 β Docs overhaul
Concept pages, integration guide, error dictionary, Scalar reference, worked examples (Hotel Panorama) throughout; spec examples added.
2026-08-25 β The DEV-262 port surface
POST room_types/rate_plans(create) plusPUT/GETcatalogue.POST inventory/*(mode gate,dryflag, add-qty-booked).- Partner fields on
PATCH. - Bookings collection filters.
/healthcalendar / bookings / v1_facade blocks.
Earlier
See the git history of resources/openapi/qc-v1.yaml for the
month-by-month churn that led to the current shape.