List an activity's availabilities
Query AAs within one explicit published or unlisted activity UUID. Direct conditions and configured facets remain available and cannot broaden the activity scope. An unknown, draft, archived or foreign activity returns 404 not_found. A valid activity outside the requested collection or with no matching AAs returns an empty page with totalCount 0. An unavailable collection returns 404 not_found. 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.
Query AAs within one explicit published or unlisted activity UUID. Direct conditions and configured facets remain available and cannot broaden the activity scope. An unknown, draft, archived or foreign activity returns 404 not_found. A valid activity outside the requested collection or with no matching AAs returns an empty page with totalCount 0. An unavailable collection returns 404 not_found. 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})$uuidwhere?stringJSON CatalogueCondition with typed activity/availability fields or fact entries carrying scope, set, field and one operator. Structural errors include paths such as query.where.activity.categories.containsAny.0. Unavailable category, event or variation references are handled like unknown ones. Refresh those values or remove the rejected filter. See CatalogueConditionLeaf for allowed operators and CatalogueQuery for admission budgets and same-AA matching. Host must cap the combined encoded query below 8 KiB in the raw request target before routing. Unknown keys return 400 validation_failed; no implicit collection.
facets?stringJSON FacetSelections. Send collectionId and use returned facet and option IDs. Structural error paths include query.facets.0.match. Unexpected properties can be reported at the enclosing object or array item. See CatalogueQuery for bounds and uniqueness. Host must cap the combined encoded query below 8 KiB in the raw request target before routing. Unknown keys return 400 validation_failed; no implicit collection.
collectionId?stringOptional collection UUID. A collection returns the activities it selects without exposing its selection criteria. Availability queries return eligible dates for those activities. The existing ceiling of 1,000 distinct saved category IDs bounds the references checked per collection read. An unavailable collection, including one above this ceiling, returns 404 not_found. Check the UUID, storefront setup and booking channel before retrying.
^([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})$uuidincludePast?booleanInclude past AAs; default is declared by CatalogueQuery.
falselimit?integerPage size; bounds and default are declared by CatalogueQuery.
1 <= value <= 10020cursor?stringOpaque continuation; see Cursor for bounds and scope. Host must cap the combined encoded query below 8 KiB in the raw request target before routing. Unknown keys return 400 validation_failed; no implicit collection.
^[A-Za-z0-9_-]+$1 <= length <= 4096Buchung-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 <= 35AAs ordered by effective startsAt then UUID; exact total/facet counts count distinct AAs before pagination. Membership, hydration and counts share one request snapshot. Preserve timestamp precision in opaque continuation; each next page re-evaluates current authority and data. Grouping is a client presentation concern, with no group capacity total.
application/json- response
AAs ordered by effective startsAt then UUID; exact total/facet counts count distinct AAs before pagination. Membership, hydration and counts share one request snapshot. Preserve timestamp precision in opaque continuation; each next page re-evaluates current authority and data. Grouping is a client presentation concern, with no group capacity total.
items*array<>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 <= 35nextCursor*|nulltotalCount*integer0 <= value <= 9007199254740991evaluatedAt*InstantISO 8601 absolute instant with explicit UTC offset (including Z). Render using the resource's documented display timezone; the serialized offset need not equal that zone.
^\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-timecollection*|Public details of the requested collection. A collection returns the activities it selects without exposing its selection criteria. Null when collectionId is omitted.
facets*array<>curl -X GET 'https://api.buchungapp.com/v1/activities/497f6eca-6276-4993-bfeb-53cbbbba6f08/availabilities'{ "items": [ { "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" } } } } } ], "locale": "string", "nextCursor": "string", "totalCount": 0, "evaluatedAt": "2019-08-24T14:15:22Z", "collection": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "handle": "string", "title": "string", "description": "string" }, "facets": [ { "id": "string", "title": "string", "description": "string", "defaultOpen": true, "match": "any", "supportedMatches": [ "any" ], "optionsTruncated": true, "selectedOptionIds": [ "string" ], "options": [ { "id": "string", "title": "string", "description": "string", "count": 0, "input": { "activity": { "id": { "eq": "b81fe1a7-65b4-4169-b130-13fa2a25664c" } } } } ] } ]}