Get an activity availability
Retrieve a concrete AA by UUID, including direct access under a published or unlisted activity. Tenant ownership, live event/variation and active variation link remain required. Missing or ineligible resources return 404. No handle guessing or inventory reservation. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.
Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples. Interactive API requests are disabled here.
Retrieve a concrete AA by UUID, including direct access under a published or unlisted activity. Tenant ownership, live event/variation and active variation link remain required. Missing or ineligible resources return 404. No handle guessing or inventory reservation. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed.
channelKeyX-Buchung-Channel-Key<token>Required channel key for every storefront operation, including site.get. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales.
id*stringStable resource UUID scoped to the authenticated operator; see Id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidBuchung-Locale?stringOn every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. See Language for syntax and normalization.
^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8}){0,3}$length <= 35One sellable scheduled instance, today one activity availability (AA), with its opaque sku and canonical advertised price/capacity. id identifies the resource for reads; sku is what checkout accepts. A series cohort later appears as one item with startsAt at the first session start and endsAt at the last session end; remaining spans all sessions, all or nothing. Sessions may later be listed as optional occurrences[], never as separate items. startsAt/endsAt are the window interval. Remaining belongs only to this sellable; never sum it across a display group. Public resolved occurrence facts and references omit unavailable/private/suppressed values. Non-upcoming matches carry null price and zero remaining; status distinguishes historical/in-progress matches from upcoming sold-out options. soldOut reflects zero advertised remaining. open is true only for an upcoming option that is not sold out and past bookableFrom; it is false for every non-upcoming match. Advertisements do not reserve inventory or guarantee checkout acceptance.
application/json- response
One sellable scheduled instance, today one activity availability (AA), with its opaque sku and canonical advertised price/capacity. id identifies the resource for reads; sku is what checkout accepts. A series cohort later appears as one item with startsAt at the first session start and endsAt at the last session end; remaining spans all sessions, all or nothing. Sessions may later be listed as optional occurrences[], never as separate items. startsAt/endsAt are the window interval. Remaining belongs only to this sellable; never sum it across a display group. Public resolved occurrence facts and references omit unavailable/private/suppressed values. Non-upcoming matches carry null price and zero remaining; status distinguishes historical/in-progress matches from upcoming sold-out options. soldOut reflects zero advertised remaining. open is true only for an upcoming option that is not sold out and past bookableFrom; it is false for every non-upcoming match. Advertisements do not reserve inventory or guarantee checkout acceptance.
locale*LanguageMatched case-insensitively against the operator's supported locale codes and normalized to the stored code. On every storefront read, Buchung-Locale is optional: omission or a well-formed but unsupported value applies the operator's default locale; a supported explicit value selects that exact locale, Content-Language always reports the applied locale, and Buchung-Locale-Fallback reports the requested value only when unsupported; malformed values return 400 validation_failed. Only checkout.createHandoff requires a supported Buchung-Locale: absence or malformed values return 400 validation_failed, and well-formed unsupported values return 400 locale_not_supported with details naming the requested and supported locales. Start with site.get to discover the operator's locales. Accepted locale codes form a closed set per operator, discovered from Site.locales; syntactically valid codes do not imply support. Management uses explicit locales without fallback; unsupported locales return 400 validation_failed.
^[A-Za-z]{2,3}(-[A-Za-z0-9]{1,8}){0,3}$length <= 35id*stringResource identity for reads; checkout accepts sku instead.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidactivityId*IdStable UUID of a public resource.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuideventId*IdStable UUID of a public resource.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidvariationId*IdStable UUID of a public resource.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$uuidstatus*stringClosed set: upcoming, in_progress, past. Exhaustive temporal states determine price and remaining semantics.
"upcoming""in_progress""past"startsAt*stringStart of the sellable window interval; for a series cohort, the first session start.
^\d{4}-\d{2}-\d{2}T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$date-timeendsAt*stringEnd of the sellable window interval; for a series cohort, the last session end.
^\d{4}-\d{2}-\d{2}T(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$date-timetimeZone*stringOperator's default timezone, used when the departure or arrival location does not set timezone.
locations*array<>The event's itinerary inherited by this availability, ordered by position: venue by default; departure, stops and arrival for trips. May be empty for online or customer-chosen locations. Start times render in the departure location's timezone and end times in the arrival location's timezone when set; otherwise use the operator's default timeZone. No activity default or availability override.
title*stringdescription*string|nullsku*SkuOpaque sellable reference minted by the server; clients must never parse it. Today it names one activity availability; later it may name a series cohort or a window created on book. 1–128 ASCII characters on both reads and handoffs, matching the hosted seed cookie carrier.
^[\x00-\x7F]+$1 <= length <= 128bookingUnitNounForms*array<>Ordered noun fallback entries, including curated fallback. For each entry use its own locale's CLDR cardinal category for quantity, then forms[category] ?? forms.other; return the first nonblank value. Invalid legacy locale uses other. Preserve entry order, including repeated locales; never flatten into the request locale's plural categories.
1 <= itemsprice*|nullremaining*|Remaining units of this sellable, never seats or people, or null for uncapped availability. Valid for a resource class of one unit and for a grouped resource. For a series cohort, counted across all sessions, all or nothing. Never sum remaining across display groups.
soldOut*booleanbookableFrom*|Instant from which this option can be booked on the storefront, or null when it is bookable whenever it is offerable. While it is in the future the option is listed with open: false; copy such as 'bookable from 1 November 09:00' renders it in the operator's time zone.
open*booleanTrue when the option can be booked on the storefront right now: upcoming, not sold out and past bookableFrom. A sold-out option and a not-yet-bookable option are both open: false; soldOut and bookableFrom say which.
facts*curl -X GET 'https://api.buchungapp.com/v1/availabilities/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "locale": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "activityId": "bdfd0655-55e6-45e6-8bbc-6ed31d3820b5", "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c", "variationId": "818c389d-b425-42eb-b751-daa67a093f4f", "status": "upcoming", "startsAt": "2019-08-24T14:15:22Z", "endsAt": "2019-08-24T14:15:22Z", "timeZone": "string", "locations": [ { "role": "venue", "position": 0, "location": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "office", "name": "string", "address": { "address1": "string", "address2": "string", "postalCode": "string", "city": "string", "countryCode": "string", "components": { "street": "string", "houseNumber": "string", "addition": "string" } }, "coordinates": { "latitude": -90, "longitude": -180 }, "timezone": "string" } } ], "title": "string", "description": "string", "sku": "string", "bookingUnitNounForms": [ { "locale": "string", "forms": { "zero": "string", "one": "string", "two": "string", "few": "string", "many": "string", "other": "string" } } ], "price": { "amount": 0, "currency": "string", "amountBeforeDiscounts": 0, "hasPromotion": true }, "remaining": 0, "soldOut": true, "bookableFrom": "2019-08-24T14:15:22Z", "open": true, "facts": { "property1": { "property1": { "label": "string", "kind": "reference", "value": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string" } }, "property2": { "label": "string", "kind": "reference", "value": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string" } } }, "property2": { "property1": { "label": "string", "kind": "reference", "value": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string" } }, "property2": { "label": "string", "kind": "reference", "value": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string" } } } }}