Docs

How Buchung works

The mental model behind Buchung: engine vs. presentation, core resources, invariants and v1 scope.

Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples. Interactive API requests are disabled here.

Before choosing endpoints or designing page layouts, it helps to understand how Buchung separates the commerce engine from presentation.

Engine vs. presentation

Buchung is the commerce engine for experience operators: sailing schools, youth camps, multi-day expeditions, courses, rentals and tours. For the full operator platform scope beyond the Storefront API (including payments, invoicing, accounting sync, mailings, guest portal, photo boards and reporting), see what Buchung covers and the platform roadmap.

                    ┌──────────────────────────────────────────┐
                    │         Buchung commerce engine          │
                    │  Catalogue · Live capacity · Pricing ·   │
                    │  Hosted checkout · Payments · Emails     │
                    └───────┬───────────────┬──────────────┬───┘
                            │               │              │
              Hosted themes │   HTTP API    │  MCP server  │
              (web-store)   │  (/v1 + key)  │  (/mcp)      │
                            ▼               ▼              ▼
                     Hosted site     Your custom site   Guest AI
                                     (Next.js, Lovable, assistants
                                      Astro, Webflow)   (Claude, ChatGPT)
  • Buchung owns operational truth: activities, scheduled dates, shared capacity pools, pricing rules, automatic promotions, checkout validation, payments, invoices, participant details and lifecycle emails.
  • Your website owns presentation: brand identity, layout, storytelling, editorial pages, landing copy and navigation.
  • One canonical catalogue: every channel (hosted storefront, custom frontend over the Storefront API, and guest AI assistants over MCP) reads the same live availability and pricing. Updating a price or filling the last spot in Buchung updates every surface immediately.
  • Money and capacity stay in the engine: your site sends a visitor's chosen SKUs and quantities to POST /checkout/handoff, which returns a signed URL to Buchung-hosted checkout. Your site never handles payment cards, never sends prices and never holds inventory.

The five core objects

Site (brand, locales, currency, timeZone, locations, trustSignals)
  └── Activity (product family: title, copy, media, categories, facts, customFacts/PDFs)
        ├── Availability / AA (concrete dated option: event + variation + sku + price + remaining)
        ├── BookingOptions (activity-scoped chooser + headline priceSummary)
        └── CheckoutHandoff (stateless signed URL carrying SKUs + quantities -> hosted checkout)
ObjectWhat it representsWhat you use it for
SiteOperator identity, brand logos, supported locales, currency, default timezone, public locations and operator-wide trust signals.Bootstrapping locale pickers, headers, footers, legal links and trust strips.
ActivityA product family (for example a week-long sailing camp or a guided expedition). Has a stable UUID and a changeable handle.Listing cards, activity detail pages, media galleries, structured facts and PDF downloads.
Availability (AA)One concrete bookable combination of activity, event (dates/times) and variation (for example "with lodging" or "morning slot"). Carries an opaque sku, advertised price, remaining and open / bookableFrom.Date-first browsing, departure tables, calendars and option cards.
BookingOptionsActivity-scoped view of offerable options plus a computed priceSummary (single, lead, range) and from price.Rendering headline prices on activity pages and populating the option chooser.
CheckoutHandoffA short-lived (15-minute) signed URL on the operator's storefront domain carrying selected SKUs and quantities.Sending the visitor seamlessly into Buchung-hosted checkout.

Five invariants every integration must respect

Grouping dates into cards is presentation only

An operator may run five options in the same week (for example different boat classes, lodging choices or age tracks). Each option is its own Availability (AA) with its own UUID, opaque sku, price and capacity. You can visually group AAs by eventId or start week in your UI, but never invent a synthetic "group SKU" or drop differing schedules and prices.

Never sum remaining across options

Two variations on the same date often share one physical resource pool (for example, a fleet of boats or a shared dormitory). Both AAs can legitimately report remaining: 10 from the same pool of 10. Summing them would advertise 20 spots that do not exist. Always show remaining per individual option (or show "Sold out" when every option in a group has soldOut: true). Remember also that remaining: null means uncapped, not sold out.

One quantity unit is not always one person

Depending on what the operator sells, quantity 1 might mean one participant, one boat, one room or one team. Always render quantity labels from bookingUnitNounForms using CLDR plural rules rather than hard-coding "person" or "guest".

Structured facts hold commerce truth; your site holds storytelling

Details visitors compare before booking (duration, age band, skill level, meeting point, packing-list PDF) belong in Buchung's facts and customFacts so filters, cards, custom sites and AI assistants stay in sync. Long-form editorial stories, hero sections and team bios stay in your site's own CMS or codebase.

Advertised prices and capacity are live snapshots, never holds

Advertised prices already include compulsory upsells (unless explicitly excluded by the operator) and applicable automatic promotions. Neither browsing nor creating a checkout handoff reserves inventory or freezes prices; hosted checkout performs final price and capacity checks when the guest books.

What v1 supports today (and what comes later)

Knowing the current boundary helps agents pick the right pattern without inventing unsupported endpoints:

Use caseStatus in v1How to model it today
Single-day events, workshops and toursSupportedActivity + dated Availability rows + POST /checkout/handoff.
Multi-day camps and expeditionsSupportedContiguous multi-day Availability rows, optional customFacts (including PDFs) and BookingOptions.priceSummary.
Timed-slot equipment or boat rentalsSupportedDated Availability slots, bookingUnitNounForms and overallMinimum "from" pricing.
Hidden / invite-only bookings and scheduled dropsSupportedUnlisted activities via /activities/by-handle/{handle} and open: false / bookableFrom countdowns.
Guest AI assistantsSupported (early access)Operator-scoped Storefront MCP server at https://<storefront-host>/mcp.
Multi-session series cohorts, stays (arrival/night search), passes/vouchersPlannedNot exposed as separate endpoints yet; do not treat empty dated options as permanently unbookable.
Public inquiries, waitlists and server-side cartsPlannedUse the operator's contact channels from Site.locations or your own contact form until the request endpoints ship.

Next steps