Use cases and site blueprints
Concrete integration blueprints for story-driven sites, seasonal camps, rentals and scheduled drops.
Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples. Interactive API requests are disabled here.
Use these blueprints to map an operator's business model onto the right Storefront v1 API calls and UI patterns. Read How Buchung works first for the shared invariants.
Story-driven expedition or multi-day trip site
Typical operator: a small catalogue (5 to 15 high-ticket multi-day trips or expeditions) where brand storytelling, itineraries, packing-list PDFs and guide credibility do the selling (for example a custom site built in Lovable, Next.js or Astro).
Recommended page structure:
- Editorial landing pages owned by your site (hero, route story, team bios, FAQ).
- Live departures table and booking CTA powered by Buchung on each trip page.
- Downloadable trip-notes PDFs read directly from
Activity.customFacts.
API sequence:
GET /siteon app boot to discover supportedlocales,currency,timeZone,brandand operator-widetrustSignals.GET /activities/by-handle/{handle}on the trip route to resolve the stableactivity.id,media,customFacts(includingpdfentries),factsandtrustSignals.GET /activities/{id}/booking-options(followingnextCursorif present) to render the headlinepriceSummaryand every open departure row with its price, dates and remaining status.POST /checkout/handofffrom the browser with the selected option's opaqueskuandquantity, then redirect unchanged tohandoff.url.
Key guardrails:
- Format
startsAtin the departure location'stimezoneandendsAtin the arrival location'stimezone(falling back independently totimeZone). - Render
pdfentries incustomFactsusing their returned storefronturlunchanged; remember localized PDFs require an exact locale match. - When
BookingOptions.optionsis empty (off-season or sold out), keep the trip story visible and show inline operator contact channels fromSite.locationsrather than a dead-end error.
Seasonal camps and multi-week catalogue
Typical operator: a sailing school, surf school or youth camp running 30 to 100+ activities split across school-holiday weeks, age bands and lodging/formula variations.
Recommended page structure:
- Date-first discovery ("When?" period chips + age/collection chips) above a scannable listing grid with 12 to 24 cards per page.
- Each card shows title, headline price, next available date and key decision facts (age band, duration, overnight).
- Activity detail page opens upcoming weeks as visible rows, expanding each week's variations inline as cards.
API sequence:
GET /siteto discover locales and operatortimeZone.POST /activities/querywithcollectionId, optionalfacetsand awhere: { availability: { startDate: { from, to } } }date window for the chosen holiday period or month. A collection returns the activities it selects without exposing its selection criteria. Read exacttotalCountand facet optioncountvalues from the same snapshot.- For a "departures by week" view across activities, call
POST /availabilities/querywithwhere: { availability: { startDate: { from, to } } }and group rows visually by week or event. - On an activity page, call
GET /activities/{id}/booking-optionsand renderpriceSummary(single,leadwithpublicTitle+otherFormsMinimum, orrange) beside the title. - On a sold-out week, query
POST /availabilities/queryfor the samestartDaterange. Pass another configuredcollectionIdor filter by a public category to suggest "Also available this week" alternatives. - Call
POST /checkout/handoffwith the chosen option'sskuand quantity.
Key guardrails:
- Never sum
remainingacross variations in the same week: two variations often draw from one shared capacity pool. - Show sold-out rows dimmed at the end of the list ("Sold out") instead of hiding them silently.
- Use
supportedMatcheson each facet and honoroptionsTruncated. Use the latest response to render the options after each selection. - Retry
503 count_timeoutwith backoff rather than rendering0results.
Equipment, boat and timed-slot rentals
Typical operator: a boat rental, kayak dock or equipment hire selling morning/afternoon/full-day slots or individual units.
Recommended page structure:
- A month calendar that visibly marks days with open slots and greys out closed days, jumping straight to the first month that has availability.
- Inline time-slot and unit-type cards under the selected day, with the booking button disabled until a slot is picked.
API sequence:
GET /activities/{id}to load the rental item's title, media, facts andbookingUnitNounForms(for example "boat" / "boats").POST /activities/{id}/availabilities/queryfor the visible month'sstartDate: { from, to }range to highlight bookable days and list that day's slots.GET /activities/{id}/booking-optionsfor the headline "from" price (priceSummary.overallMinimumfor rentals).POST /checkout/handoffwith the chosen slot'sskuand unit count.
Key guardrails:
- Always label quantities with
bookingUnitNounFormsevaluated under CLDR plural rules; one unit is often a boat or vehicle, not one person. - Rentals always display a "from" prefix with
overallMinimum. - Keep the primary CTA disabled with clear helper text ("Choose a date and time slot first") until a concrete
skuis selected.
Private invite links and scheduled "drops"
Typical operator: returning-member early access, private school/corporate group links, or a high-demand season opening at an exact date and time.
API sequence:
- Unlisted (hidden) activity: resolve
/activities/by-handle/{handle}directly to obtain its UUID, then load/activities/{id}/booking-optionsand hand off to checkout normally. Unlisted activities never appear in/activitiesor/availabilitiesdiscovery lists or facet counts, yet direct links remain bookable. - Scheduled drop (
open: false): inspectopenandbookableFromon each availability or booking option. WhenopenisfalseandsoldOutisfalse, render the date and price with a clear opening timestamp ("Opens on 1 March at 10:00" in the operator/departure timezone) and disable the booking button untilbookableFrompasses.
Key guardrails:
- Do not confuse
open: false(not yet open for booking) withsoldOut: true(capacity exhausted) orstatus: "past". - Remember direct unlisted links are shareable URLs, not authenticated private portals.