{"openapi":"3.1.0","info":{"title":"Concierly Platform API","version":"1.0.0","summary":"Inventory, availability and bookings for hotel concierge distribution.","description":"Partners (local experience providers) manage offers and availability and act on bookings. Hotels read their curated guest catalog and the bookings their guests made. All amounts are integers in minor currency units (cents) with an ISO 4217 currency.","contact":{"name":"Concierly Developer Support","url":"https://concierly.bigdataheaven-software.de/demo#contact"}},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","servers":[{"url":"https://concierly.bigdataheaven-software.de/api/v1"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Offers","description":"Partner inventory and hotel catalogs."},{"name":"Availability","description":"Time slots and capacity."},{"name":"Bookings","description":"Reservations made by hotel guests."}],"paths":{"/offers":{"get":{"operationId":"listOffers","tags":["Offers"],"summary":"List offers","description":"Partner keys receive their own offers (all statuses, with full translations). Hotel keys receive the hotel's live guest catalog — localized, with distance from the hotel and a deep link into the guest app.","x-scopes":["offers:read"],"x-key-types":["partner","hotel"],"parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"},{"name":"locale","in":"query","description":"Hotel keys: language of title and summary.","schema":{"type":"string","enum":["en","de","fr","es","it"]}},{"name":"category","in":"query","schema":{"type":"string","enum":["EXPERIENCES","TOURS","WELLNESS","DINING","CULTURE","OUTDOOR","FAMILY","NIGHTLIFE","TRANSPORT","SERVICES"]}},{"name":"status","in":"query","description":"Partner keys: filter by status.","schema":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED"]}}],"responses":{"200":{"description":"A page of offers.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferPage"},"example":{"data":[{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","title":"Riesling tasting in the vineyard","summary":"Five Rheingau Rieslings with the winemaker, between the vines.","category":"EXPERIENCES","tags":["wine","rheingau"],"images":["https://concierly.example/images/offers/riesling-tasting.jpg"],"priceMinor":3900,"currency":"EUR","priceType":"PER_PERSON","durationMinutes":90,"bookingMode":"INSTANT","availabilityType":"SLOTS","indoor":false,"familyFriendly":false,"rating":4.8,"reviewsCount":126,"partner":{"id":"cmg0prtn5h1k2j3a","slug":"weingut-sonnenhang","name":"Weingut Sonnenhang"},"location":{"lat":50.0123,"lng":8.0581},"distanceKm":11.4,"walkingMinutes":137,"featured":true,"staffPick":true,"staffNote":"Our receptionist Anna's favourite afternoon out.","inHouse":false,"bookingUrl":"https://concierly.example/h/linde-quelle-wiesbaden/offer/riesling-vineyard-tasting"}],"hasMore":false,"nextCursor":null}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"}}},"post":{"operationId":"createOffer","tags":["Offers"],"summary":"Create an offer","description":"Creates an offer for the partner, priced in the currency of the partner's city. With a weekly `schedule` and status `ACTIVE`, bookable slots for the next 30 days are generated immediately. The same rules as in the partner portal apply: each schedule rule's `capacity` must fit `minGuests`, and `ACTIVE` offers need title, summary and description in English and German, at least one image, and (for `SLOTS`) a schedule — otherwise create a `DRAFT` and publish it later.","x-scopes":["offers:write"],"x-key-types":["partner"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferCreate"},"example":{"title":{"en":"Riesling tasting in the vineyard","de":"Riesling-Weinprobe im Weinberg"},"summary":{"en":"Five Rheingau Rieslings with the winemaker, between the vines.","de":"Fünf Rheingauer Rieslinge mit dem Winzer, mitten in den Reben."},"description":{"en":"Walk up the Sonnenhang with our winemaker and taste five Rieslings where they grow.","de":"Mit unserem Winzer den Sonnenhang hinauf und fünf Rieslinge dort probieren, wo sie wachsen."},"category":"EXPERIENCES","images":["https://concierly.example/images/offers/riesling-tasting.jpg"],"priceMinor":3900,"durationMinutes":90,"maxGuests":12,"leadTimeMinutes":120,"schedule":[{"days":[3,4,5,6],"times":["14:00","17:00"],"capacity":12}],"status":"ACTIVE"}}}},"responses":{"201":{"description":"The created offer.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerOffer"}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","status":"ACTIVE","title":{"en":"Riesling tasting in the vineyard","de":"Riesling-Weinprobe im Weinberg"},"summary":{"en":"Five Rheingau Rieslings with the winemaker, between the vines.","de":"Fünf Rheingauer Rieslinge mit dem Winzer, mitten in den Reben."},"description":{"en":"Walk up the Sonnenhang with our winemaker and taste five Rieslings where they grow.","de":"Mit unserem Winzer den Sonnenhang hinauf und fünf Rieslinge dort probieren, wo sie wachsen."},"highlights":{"en":["Five wines including a Grosses Gewächs","View over the Rhine"]},"included":{"en":["Wine tasting","Bread and cheese"]},"category":"EXPERIENCES","tags":["wine","rheingau"],"images":["https://concierly.example/images/offers/riesling-tasting.jpg"],"durationMinutes":90,"priceMinor":3900,"currency":"EUR","priceType":"PER_PERSON","minGuests":1,"maxGuests":12,"bookingMode":"INSTANT","availabilityType":"SLOTS","validityDays":null,"leadTimeMinutes":120,"responseSlaMinutes":120,"cancellationPolicy":"FLEXIBLE_24H","meetingPoint":"Weingut Sonnenhang, courtyard","location":null,"indoor":false,"familyFriendly":false,"bestTimes":["AFTERNOON","EVENING"],"schedule":[{"days":[3,4,5,6],"times":["14:00","17:00"],"capacity":12}],"externalProductId":null,"rating":4.8,"reviewsCount":126,"createdAt":"2026-09-01T08:12:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/offers/{id}":{"get":{"operationId":"getOffer","tags":["Offers"],"summary":"Retrieve an offer","description":"Partner keys: one of their offers. Hotel keys: an offer from the hotel's catalog.","x-scopes":["offers:read"],"x-key-types":["partner","hotel"],"parameters":[{"name":"id","in":"path","required":true,"description":"Offer id or slug.","schema":{"type":"string"}},{"name":"locale","in":"query","description":"Hotel keys only.","schema":{"type":"string","enum":["en","de","fr","es","it"]}}],"responses":{"200":{"description":"The offer.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/PartnerOffer"},{"$ref":"#/components/schemas/CatalogOffer"}]}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","status":"ACTIVE","title":{"en":"Riesling tasting in the vineyard","de":"Riesling-Weinprobe im Weinberg"},"summary":{"en":"Five Rheingau Rieslings with the winemaker, between the vines.","de":"Fünf Rheingauer Rieslinge mit dem Winzer, mitten in den Reben."},"description":{"en":"Walk up the Sonnenhang with our winemaker and taste five Rieslings where they grow.","de":"Mit unserem Winzer den Sonnenhang hinauf und fünf Rieslinge dort probieren, wo sie wachsen."},"highlights":{"en":["Five wines including a Grosses Gewächs","View over the Rhine"]},"included":{"en":["Wine tasting","Bread and cheese"]},"category":"EXPERIENCES","tags":["wine","rheingau"],"images":["https://concierly.example/images/offers/riesling-tasting.jpg"],"durationMinutes":90,"priceMinor":3900,"currency":"EUR","priceType":"PER_PERSON","minGuests":1,"maxGuests":12,"bookingMode":"INSTANT","availabilityType":"SLOTS","validityDays":null,"leadTimeMinutes":120,"responseSlaMinutes":120,"cancellationPolicy":"FLEXIBLE_24H","meetingPoint":"Weingut Sonnenhang, courtyard","location":null,"indoor":false,"familyFriendly":false,"bestTimes":["AFTERNOON","EVENING"],"schedule":[{"days":[3,4,5,6],"times":["14:00","17:00"],"capacity":12}],"externalProductId":null,"rating":4.8,"reviewsCount":126,"createdAt":"2026-09-01T08:12:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}},"patch":{"operationId":"updateOffer","tags":["Offers"],"summary":"Update an offer","description":"Partial update — only the fields you send change; send `null` to clear a nullable field. Changing the `schedule` (or activating the offer) generates future slots; existing slots and their bookings are kept. When the result is `ACTIVE` and the update publishes the offer or changes its content, images, schedule, availability type or `minGuests`, the go-live rules of `POST /offers` are checked on the merged offer; upcoming slots set via `PUT /offers/{id}/availability` count as a schedule.","x-scopes":["offers:write"],"x-key-types":["partner"],"parameters":[{"name":"id","in":"path","required":true,"description":"Offer id or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferPatch"},"example":{"priceMinor":4200}}}},"responses":{"200":{"description":"The updated offer.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PartnerOffer"}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","status":"ACTIVE","title":{"en":"Riesling tasting in the vineyard","de":"Riesling-Weinprobe im Weinberg"},"summary":{"en":"Five Rheingau Rieslings with the winemaker, between the vines.","de":"Fünf Rheingauer Rieslinge mit dem Winzer, mitten in den Reben."},"description":{"en":"Walk up the Sonnenhang with our winemaker and taste five Rieslings where they grow.","de":"Mit unserem Winzer den Sonnenhang hinauf und fünf Rieslinge dort probieren, wo sie wachsen."},"highlights":{"en":["Five wines including a Grosses Gewächs","View over the Rhine"]},"included":{"en":["Wine tasting","Bread and cheese"]},"category":"EXPERIENCES","tags":["wine","rheingau"],"images":["https://concierly.example/images/offers/riesling-tasting.jpg"],"durationMinutes":90,"priceMinor":4200,"currency":"EUR","priceType":"PER_PERSON","minGuests":1,"maxGuests":12,"bookingMode":"INSTANT","availabilityType":"SLOTS","validityDays":null,"leadTimeMinutes":120,"responseSlaMinutes":120,"cancellationPolicy":"FLEXIBLE_24H","meetingPoint":"Weingut Sonnenhang, courtyard","location":null,"indoor":false,"familyFriendly":false,"bestTimes":["AFTERNOON","EVENING"],"schedule":[{"days":[3,4,5,6],"times":["14:00","17:00"],"capacity":12}],"externalProductId":null,"rating":4.8,"reviewsCount":126,"createdAt":"2026-09-01T08:12:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/offers/{id}/availability":{"get":{"operationId":"getAvailability","tags":["Availability"],"summary":"List slots","description":"Partner keys see every slot of their offer, including closed and full ones. Hotel keys see bookable slots only (open, seats left, respecting the offer's lead time). Default range: now to 14 days ahead; at most 92 days.","x-scopes":["offers:read","availability:write"],"x-key-types":["partner","hotel"],"parameters":[{"name":"id","in":"path","required":true,"description":"Offer id or slug.","schema":{"type":"string"}},{"name":"from","in":"query","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Slots in the range.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Availability"}},"required":["data"],"additionalProperties":false},"example":{"data":{"offerId":"cmg0offr8w2l1z0q","availabilityType":"SLOTS","from":"2026-10-03T09:00:00.000Z","to":"2026-10-17T09:00:00.000Z","slots":[{"id":"cmg0slot7k3q9p2x","startsAt":"2026-10-03T14:00:00.000Z","endsAt":"2026-10-03T15:30:00.000Z","capacity":12,"booked":4,"remaining":8,"closed":false,"priceMinorOverride":null}]}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"}}},"put":{"operationId":"putAvailability","tags":["Availability"],"summary":"Upsert slots","description":"Creates or updates slots by `startsAt` (up to 500 per request). All-or-nothing: if any slot's capacity would drop below the seats already booked, nothing changes and the response lists the conflicts. Set `closed: true` to stop sales without touching existing bookings.","x-scopes":["availability:write"],"x-key-types":["partner"],"parameters":[{"name":"id","in":"path","required":true,"description":"Offer id or slug.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityPut"},"example":{"slots":[{"startsAt":"2026-10-03T16:00:00+02:00","capacity":12},{"startsAt":"2026-10-03T19:00:00+02:00","capacity":8,"priceMinorOverride":4500},{"startsAt":"2026-10-04T16:00:00+02:00","capacity":12,"closed":true}]}}}},"responses":{"200":{"description":"The upserted slots.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AvailabilityUpdate"}},"required":["data"],"additionalProperties":false},"example":{"data":{"offerId":"cmg0offr8w2l1z0q","slots":[{"id":"cmg0slot7k3q9p2x","startsAt":"2026-10-03T14:00:00.000Z","endsAt":"2026-10-03T15:30:00.000Z","capacity":12,"booked":4,"remaining":8,"closed":false,"priceMinorOverride":null}]}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"description":"Capacity below booked seats (nothing changed), or the offer is open-dated.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"conflict","message":"Capacity cannot be set below the seats already booked. No slots were changed.","details":[{"startsAt":"2026-10-03T14:00:00.000Z","booked":4,"capacity":2}]}}}}},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/bookings":{"get":{"operationId":"listBookings","tags":["Bookings"],"summary":"List bookings","description":"Newest first. Partner keys see bookings for their offers; hotel keys see bookings made by their guests. Guest contact details are never exposed.","x-scopes":["bookings:read"],"x-key-types":["partner","hotel"],"parameters":[{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/cursor"},{"name":"status","in":"query","description":"Comma-separated list of: PENDING_PAYMENT, REQUESTED, CONFIRMED, DECLINED, CANCELLED, REDEEMED, NO_SHOW, EXPIRED.","schema":{"type":"string"},"example":"REQUESTED,CONFIRMED"},{"name":"from","in":"query","description":"Created at or after (ISO 8601).","schema":{"type":"string","format":"date-time"}},{"name":"to","in":"query","description":"Created before (ISO 8601).","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"A page of bookings.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingPage"},"example":{"data":[{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offer":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","title":"Riesling tasting in the vineyard"},"hotel":{"id":"cmg0hotl1a2b3c4d","slug":"linde-quelle-wiesbaden","name":"Hotel Linde & Quelle"},"startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"locale":"fr","currency":"EUR","totalMinor":7800,"confirmedAt":"2026-10-03T09:00:00.000Z","redeemedAt":null,"cancelledAt":null,"cancellationReason":null,"createdAt":"2026-10-03T09:00:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z","commissionMinor":1560,"partnerPayoutMinor":6240,"externalBookingId":null,"voucherCode":"4F7K-29QX-M3"}],"hasMore":true,"nextCursor":"Y21nMGJrbmcyYzR2NmI4bg"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/bookings/{reference}":{"get":{"operationId":"getBooking","tags":["Bookings"],"summary":"Retrieve a booking","x-scopes":["bookings:read"],"x-key-types":["partner","hotel"],"parameters":[{"name":"reference","in":"path","required":true,"description":"Booking reference, e.g. CNC-7K3Q9P.","schema":{"type":"string"}}],"responses":{"200":{"description":"The booking.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Booking"}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offer":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","title":"Riesling tasting in the vineyard"},"hotel":{"id":"cmg0hotl1a2b3c4d","slug":"linde-quelle-wiesbaden","name":"Hotel Linde & Quelle"},"startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"locale":"fr","currency":"EUR","totalMinor":7800,"confirmedAt":"2026-10-03T09:00:00.000Z","redeemedAt":null,"cancelledAt":null,"cancellationReason":null,"createdAt":"2026-10-03T09:00:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z","commissionMinor":1560,"partnerPayoutMinor":6240,"externalBookingId":null,"voucherCode":"4F7K-29QX-M3"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/RateLimited"}}}},"/bookings/{reference}/confirm":{"post":{"operationId":"confirmBooking","tags":["Bookings"],"summary":"Confirm a booking request","description":"Accepts a `REQUESTED` booking. A pre-authorized card payment is captured at this moment and the guest receives the voucher. Idempotent for bookings that are already confirmed.","x-scopes":["bookings:write"],"x-key-types":["partner"],"parameters":[{"name":"reference","in":"path","required":true,"description":"Booking reference, e.g. CNC-7K3Q9P.","schema":{"type":"string"}}],"responses":{"200":{"description":"The updated booking.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Booking"}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offer":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","title":"Riesling tasting in the vineyard"},"hotel":{"id":"cmg0hotl1a2b3c4d","slug":"linde-quelle-wiesbaden","name":"Hotel Linde & Quelle"},"startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"locale":"fr","currency":"EUR","totalMinor":7800,"confirmedAt":"2026-10-03T09:00:00.000Z","redeemedAt":null,"cancelledAt":null,"cancellationReason":null,"createdAt":"2026-10-03T09:00:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z","commissionMinor":1560,"partnerPayoutMinor":6240,"externalBookingId":null,"voucherCode":"4F7K-29QX-M3"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"description":"The payment provider rejected the capture or refund.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"payment_provider_error","message":"The payment provider rejected the operation. Please retry shortly."}}}}}}}},"/bookings/{reference}/decline":{"post":{"operationId":"declineBooking","tags":["Bookings"],"summary":"Decline a booking request","description":"Rejects a `REQUESTED` booking. The card authorization is released (or the payment refunded) and the seats return to inventory.","x-scopes":["bookings:write"],"x-key-types":["partner"],"parameters":[{"name":"reference","in":"path","required":true,"description":"Booking reference, e.g. CNC-7K3Q9P.","schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeclineBody"},"example":{"reason":"Fully booked by a private group"}}}},"responses":{"200":{"description":"The updated booking.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Booking"}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"DECLINED","paymentStatus":"NOT_REQUIRED","offer":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","title":"Riesling tasting in the vineyard"},"hotel":{"id":"cmg0hotl1a2b3c4d","slug":"linde-quelle-wiesbaden","name":"Hotel Linde & Quelle"},"startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"locale":"fr","currency":"EUR","totalMinor":7800,"confirmedAt":"2026-10-03T09:00:00.000Z","redeemedAt":null,"cancelledAt":"2026-10-03T09:00:00.000Z","cancellationReason":"Fully booked by a private group","createdAt":"2026-10-03T09:00:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z","commissionMinor":1560,"partnerPayoutMinor":6240,"externalBookingId":null,"voucherCode":null}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"description":"The payment provider rejected the capture or refund.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"payment_provider_error","message":"The payment provider rejected the operation. Please retry shortly."}}}}}}}},"/bookings/{reference}/redeem":{"post":{"operationId":"redeemBooking","tags":["Bookings"],"summary":"Redeem a voucher","description":"Marks a `CONFIRMED` booking as used at the venue. Optionally pass the code the guest presented to double-check it.","x-scopes":["bookings:write"],"x-key-types":["partner"],"parameters":[{"name":"reference","in":"path","required":true,"description":"Booking reference, e.g. CNC-7K3Q9P.","schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemBody"},"example":{"voucherCode":"4F7K-29QX-M3"}}}},"responses":{"200":{"description":"The updated booking.","headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Booking"}},"required":["data"],"additionalProperties":false},"example":{"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"REDEEMED","paymentStatus":"PAID","offer":{"id":"cmg0offr8w2l1z0q","slug":"riesling-vineyard-tasting","title":"Riesling tasting in the vineyard"},"hotel":{"id":"cmg0hotl1a2b3c4d","slug":"linde-quelle-wiesbaden","name":"Hotel Linde & Quelle"},"startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"locale":"fr","currency":"EUR","totalMinor":7800,"confirmedAt":"2026-10-03T09:00:00.000Z","redeemedAt":"2026-10-03T09:00:00.000Z","cancelledAt":null,"cancellationReason":null,"createdAt":"2026-10-03T09:00:00.000Z","updatedAt":"2026-10-03T09:00:00.000Z","commissionMinor":1560,"partnerPayoutMinor":6240,"externalBookingId":null,"voucherCode":"4F7K-29QX-M3"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"409":{"$ref":"#/components/responses/Conflict"},"422":{"$ref":"#/components/responses/ValidationError"},"429":{"$ref":"#/components/responses/RateLimited"},"502":{"description":"The payment provider rejected the capture or refund.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"payment_provider_error","message":"The payment provider rejected the operation. Please retry shortly."}}}}}}}}},"webhooks":{"booking.created":{"post":{"summary":"booking.created","description":"A guest booked one of your offers (status CONFIRMED or REQUESTED). Signed with the `Concierly-Signature` header.","parameters":[{"name":"Concierly-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of `${t}.${body}` keyed with the endpoint secret>","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_2b7d0c1e9f4a4f0c8d1a","type":"booking.created","created":1791018000,"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offerId":"cmg0offr8w2l1z0q","startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"currency":"EUR","totalMinor":7800,"partnerPayoutMinor":6240,"voucherCode":"4F7K-29QX-M3","createdAt":"2026-10-03T09:00:00.000Z"}}}}},"responses":{"2XX":{"description":"Return any 2xx within 5 seconds to acknowledge."}}}},"booking.confirmed":{"post":{"summary":"booking.confirmed","description":"A booking request was confirmed. Signed with the `Concierly-Signature` header.","parameters":[{"name":"Concierly-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of `${t}.${body}` keyed with the endpoint secret>","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_2b7d0c1e9f4a4f0c8d1a","type":"booking.confirmed","created":1791018000,"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offerId":"cmg0offr8w2l1z0q","startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"currency":"EUR","totalMinor":7800,"partnerPayoutMinor":6240,"voucherCode":"4F7K-29QX-M3","createdAt":"2026-10-03T09:00:00.000Z"}}}}},"responses":{"2XX":{"description":"Return any 2xx within 5 seconds to acknowledge."}}}},"booking.cancelled":{"post":{"summary":"booking.cancelled","description":"A booking was cancelled by the guest, the hotel or the platform. Signed with the `Concierly-Signature` header.","parameters":[{"name":"Concierly-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of `${t}.${body}` keyed with the endpoint secret>","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_2b7d0c1e9f4a4f0c8d1a","type":"booking.cancelled","created":1791018000,"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offerId":"cmg0offr8w2l1z0q","startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"currency":"EUR","totalMinor":7800,"partnerPayoutMinor":6240,"voucherCode":"4F7K-29QX-M3","createdAt":"2026-10-03T09:00:00.000Z"}}}}},"responses":{"2XX":{"description":"Return any 2xx within 5 seconds to acknowledge."}}}},"booking.redeemed":{"post":{"summary":"booking.redeemed","description":"A voucher was redeemed at the venue. Signed with the `Concierly-Signature` header.","parameters":[{"name":"Concierly-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of `${t}.${body}` keyed with the endpoint secret>","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEvent"},"example":{"id":"evt_2b7d0c1e9f4a4f0c8d1a","type":"booking.redeemed","created":1791018000,"data":{"id":"cmg0bkng2c4v6b8n","reference":"CNC-7K3Q9P","status":"CONFIRMED","paymentStatus":"PAID","offerId":"cmg0offr8w2l1z0q","startsAt":"2026-10-03T14:00:00.000Z","validUntil":null,"quantity":2,"guestName":"Claire Martin","roomNumber":"101","notes":null,"currency":"EUR","totalMinor":7800,"partnerPayoutMinor":6240,"voucherCode":"4F7K-29QX-M3","createdAt":"2026-10-03T09:00:00.000Z"}}}}},"responses":{"2XX":{"description":"Return any 2xx within 5 seconds to acknowledge."}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"ck_live_…","description":"Keys are issued per partner or hotel with explicit scopes and shown once — store them securely."}},"parameters":{"limit":{"name":"limit","in":"query","description":"Page size (1–100).","schema":{"type":"integer","minimum":1,"maximum":100,"default":25}},"cursor":{"name":"cursor","in":"query","description":"`nextCursor` from the previous page.","schema":{"type":"string"}}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"integer"}}},"responses":{"Unauthorized":{"description":"Missing, invalid or revoked API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"unauthorized","message":"Invalid or revoked API key."}}}}},"Forbidden":{"description":"The key lacks a scope, or the endpoint is not available to this key type.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"insufficient_scope","message":"This API key lacks the required scope: offers:write.","details":{"required":["offers:write"],"granted":["offers:read"]}}}}}},"NotFound":{"description":"The resource does not exist or belongs to someone else.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"not_found","message":"Booking not found."}}}}},"ValidationError":{"description":"The request failed validation.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"validation_error","message":"The request is invalid. See details for the offending fields.","details":[{"path":"priceMinor","message":"Too small: expected number to be >=0"}]}}}}},"Conflict":{"description":"The request conflicts with the current state.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"invalid_state","message":"Cannot confirm a cancelled booking"}}}}},"RateLimited":{"description":"More than 120 requests per minute for this key.","headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds until the window resets."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"rate_limited","message":"Rate limit of 120 requests per minute exceeded."}}}}}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","insufficient_scope","forbidden","not_found","invalid_json","validation_error","conflict","invalid_state","rate_limited","payload_too_large","payment_provider_error","internal_error"]},"message":{"type":"string"},"details":{"description":"Machine-readable context, e.g. the invalid fields."}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false},"LocalizedText":{"type":"object","description":"Translations keyed by locale (en, de, fr, es, it).","additionalProperties":{"type":"string"}},"LocalizedList":{"type":"object","description":"Lists of strings keyed by locale.","additionalProperties":{"type":"array","items":{"type":"string"}}},"Location":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"],"additionalProperties":false},"WeeklySchedule":{"type":"array","items":{"type":"object","properties":{"days":{"type":"array","items":{"type":"integer","minimum":1,"maximum":7},"description":"ISO weekdays, 1 = Monday … 7 = Sunday"},"times":{"type":"array","items":{"type":"string","description":"HH:MM local time"}},"capacity":{"type":"integer","minimum":1}},"required":["days","times","capacity"],"additionalProperties":false}},"PartnerOffer":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"status":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED"]},"title":{"$ref":"#/components/schemas/LocalizedText"},"summary":{"$ref":"#/components/schemas/LocalizedText"},"description":{"$ref":"#/components/schemas/LocalizedText"},"highlights":{"anyOf":[{"$ref":"#/components/schemas/LocalizedList"},{"type":"null"}]},"included":{"anyOf":[{"$ref":"#/components/schemas/LocalizedList"},{"type":"null"}]},"category":{"type":"string","enum":["EXPERIENCES","TOURS","WELLNESS","DINING","CULTURE","OUTDOOR","FAMILY","NIGHTLIFE","TRANSPORT","SERVICES"]},"tags":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"string","format":"uri"}},"durationMinutes":{"type":["integer","null"]},"priceMinor":{"type":"integer","description":"Guest price in minor units per price unit."},"currency":{"type":"string","description":"ISO 4217"},"priceType":{"type":"string","enum":["PER_PERSON","PER_GROUP","PER_UNIT"]},"minGuests":{"type":"integer"},"maxGuests":{"type":"integer"},"bookingMode":{"type":"string","enum":["INSTANT","REQUEST","FREE_RESERVATION"]},"availabilityType":{"type":"string","enum":["SLOTS","OPEN_DATED"]},"validityDays":{"type":["integer","null"]},"leadTimeMinutes":{"type":"integer"},"responseSlaMinutes":{"type":"integer"},"cancellationPolicy":{"type":"string","enum":["FLEXIBLE_24H","MODERATE_48H","STRICT_7D","NON_REFUNDABLE"]},"meetingPoint":{"type":["string","null"]},"location":{"anyOf":[{"$ref":"#/components/schemas/Location"},{"type":"null"}]},"indoor":{"type":"boolean"},"familyFriendly":{"type":"boolean"},"bestTimes":{"type":"array","items":{"type":"string","enum":["MORNING","AFTERNOON","EVENING","NIGHT"]}},"schedule":{"anyOf":[{"$ref":"#/components/schemas/WeeklySchedule"},{"type":"null"}]},"externalProductId":{"type":["string","null"]},"rating":{"type":"number"},"reviewsCount":{"type":"integer"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","slug","status","title","summary","description","highlights","included","category","tags","images","durationMinutes","priceMinor","currency","priceType","minGuests","maxGuests","bookingMode","availabilityType","validityDays","leadTimeMinutes","responseSlaMinutes","cancellationPolicy","meetingPoint","location","indoor","familyFriendly","bestTimes","schedule","externalProductId","rating","reviewsCount","createdAt","updatedAt"],"additionalProperties":false},"CatalogOffer":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"category":{"type":"string","enum":["EXPERIENCES","TOURS","WELLNESS","DINING","CULTURE","OUTDOOR","FAMILY","NIGHTLIFE","TRANSPORT","SERVICES"]},"tags":{"type":"array","items":{"type":"string"}},"images":{"type":"array","items":{"type":"string","format":"uri"}},"priceMinor":{"type":"integer"},"currency":{"type":"string"},"priceType":{"type":"string","enum":["PER_PERSON","PER_GROUP","PER_UNIT"]},"durationMinutes":{"type":["integer","null"]},"bookingMode":{"type":"string","enum":["INSTANT","REQUEST","FREE_RESERVATION"]},"availabilityType":{"type":"string","enum":["SLOTS","OPEN_DATED"]},"indoor":{"type":"boolean"},"familyFriendly":{"type":"boolean"},"rating":{"type":"number"},"reviewsCount":{"type":"integer"},"partner":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"}},"required":["id","slug","name"],"additionalProperties":false},"location":{"$ref":"#/components/schemas/Location"},"distanceKm":{"type":"number","description":"Distance from the hotel."},"walkingMinutes":{"type":"integer"},"featured":{"type":"boolean"},"staffPick":{"type":"boolean"},"staffNote":{"type":["string","null"]},"inHouse":{"type":"boolean","description":"The hotel's own ancillary (breakfast, late checkout, …)."},"bookingUrl":{"type":"string","format":"uri","description":"Deep link into the hotel's guest app."}},"required":["id","slug","title","summary","category","tags","images","priceMinor","currency","priceType","durationMinutes","bookingMode","availabilityType","indoor","familyFriendly","rating","reviewsCount","partner","location","distanceKm","walkingMinutes","featured","staffPick","staffNote","inHouse","bookingUrl"],"additionalProperties":false},"Slot":{"type":"object","properties":{"id":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":["string","null"],"format":"date-time"},"capacity":{"type":"integer"},"booked":{"type":"integer"},"remaining":{"type":"integer","description":"Places still bookable. A PER_GROUP (private) offer sells each slot to one group as a whole: while anyone holds it, remaining is 0; when it is empty, remaining is the capacity."},"closed":{"type":"boolean"},"priceMinorOverride":{"type":["integer","null"]}},"required":["id","startsAt","endsAt","capacity","booked","remaining","closed","priceMinorOverride"],"additionalProperties":false},"Availability":{"type":"object","properties":{"offerId":{"type":"string"},"availabilityType":{"type":"string","enum":["SLOTS","OPEN_DATED"]},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"slots":{"type":"array","items":{"$ref":"#/components/schemas/Slot"}}},"required":["offerId","availabilityType","from","to","slots"],"additionalProperties":false},"AvailabilityUpdate":{"type":"object","properties":{"offerId":{"type":"string"},"slots":{"type":"array","items":{"$ref":"#/components/schemas/Slot"}}},"required":["offerId","slots"],"additionalProperties":false},"Booking":{"type":"object","properties":{"id":{"type":"string"},"reference":{"type":"string","description":"Human-friendly reference, e.g. CNC-7K3Q9P."},"status":{"type":"string","enum":["PENDING_PAYMENT","REQUESTED","CONFIRMED","DECLINED","CANCELLED","REDEEMED","NO_SHOW","EXPIRED"]},"paymentStatus":{"type":"string","enum":["NOT_REQUIRED","UNPAID","AUTHORIZED","PAID","REFUNDED","PARTIALLY_REFUNDED","FAILED"]},"offer":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"title":{"type":"string"}},"required":["id","slug","title"],"additionalProperties":false},"hotel":{"type":["object","null"],"properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"}},"required":["id","slug","name"],"additionalProperties":false,"description":"null for direct bookings through the partner's own website widget (see channel)."},"channel":{"type":"string","enum":["GUEST_APP","CONCIERGE","PRE_ARRIVAL","API","MCP","PARTNER_WIDGET"],"description":"Only present when hotel is null: PARTNER_WIDGET for direct bookings through the partner's own website widget."},"startsAt":{"type":["string","null"],"format":"date-time"},"validUntil":{"type":["string","null"],"format":"date-time","description":"Open-dated vouchers only."},"quantity":{"type":"integer"},"guestName":{"type":"string"},"roomNumber":{"type":["string","null"]},"notes":{"type":["string","null"]},"locale":{"type":"string"},"currency":{"type":"string"},"totalMinor":{"type":"integer","description":"What the guest paid."},"confirmedAt":{"type":["string","null"],"format":"date-time"},"redeemedAt":{"type":["string","null"],"format":"date-time"},"cancelledAt":{"type":["string","null"],"format":"date-time"},"cancellationReason":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"hotelShareMinor":{"type":"integer","description":"Hotel keys only: the hotel's commission share."},"commissionMinor":{"type":"integer","description":"Partner keys only: total commission."},"partnerPayoutMinor":{"type":"integer","description":"Partner keys only: amount paid out to the partner."},"externalBookingId":{"type":["string","null"],"description":"Partner keys only: id in the partner's channel manager."},"voucherCode":{"type":["string","null"],"description":"Partner keys only: set once the booking is confirmed."}},"required":["id","reference","status","paymentStatus","offer","hotel","startsAt","validUntil","quantity","guestName","roomNumber","notes","locale","currency","totalMinor","confirmedAt","redeemedAt","cancelledAt","cancellationReason","createdAt","updatedAt"],"additionalProperties":false},"OfferPage":{"type":"object","properties":{"data":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/PartnerOffer"}},{"type":"array","items":{"$ref":"#/components/schemas/CatalogOffer"}}]},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["data","hasMore","nextCursor"],"additionalProperties":false},"BookingPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Booking"}},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["data","hasMore","nextCursor"],"additionalProperties":false},"OfferCreate":{"type":"object","properties":{"title":{"description":"Offer title. A plain string is stored as English; an object maps locales (en, de, fr, es, it) to text.","anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}]},"summary":{"description":"One-line teaser shown on cards. A plain string is stored as English; an object maps locales (en, de, fr, es, it) to text.","anyOf":[{"type":"string","minLength":1,"maxLength":240},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"type":"string","minLength":1,"maxLength":240}}]},"description":{"description":"Long description, paragraphs separated by a blank line. A plain string is stored as English; an object maps locales (en, de, fr, es, it) to text.","anyOf":[{"type":"string","minLength":1,"maxLength":5000},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"type":"string","minLength":1,"maxLength":5000}}]},"highlights":{"anyOf":[{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}}]},"included":{"anyOf":[{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}}]},"category":{"type":"string","enum":["EXPERIENCES","TOURS","WELLNESS","DINING","CULTURE","OUTDOOR","FAMILY","NIGHTLIFE","TRANSPORT","SERVICES"]},"tags":{"maxItems":20,"type":"array","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,39}$"}},"images":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":500}},"durationMinutes":{"anyOf":[{"type":"integer","minimum":5,"maximum":10080},{"type":"null"}]},"priceMinor":{"type":"integer","minimum":0,"maximum":10000000,"description":"Guest price in minor units (cents) per price unit."},"currency":{"description":"Always the currency of the partner's city (the default); any other value is rejected.","type":"string","pattern":"^[A-Z]{3}$"},"priceType":{"default":"PER_PERSON","type":"string","enum":["PER_PERSON","PER_GROUP","PER_UNIT"]},"minGuests":{"default":1,"type":"integer","minimum":1,"maximum":50},"maxGuests":{"default":10,"type":"integer","minimum":1,"maximum":50},"bookingMode":{"default":"INSTANT","type":"string","enum":["INSTANT","REQUEST","FREE_RESERVATION"]},"availabilityType":{"default":"SLOTS","type":"string","enum":["SLOTS","OPEN_DATED"]},"validityDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":730},{"type":"null"}]},"leadTimeMinutes":{"default":60,"type":"integer","minimum":0,"maximum":10080},"responseSlaMinutes":{"default":120,"type":"integer","minimum":15,"maximum":2880},"cancellationPolicy":{"default":"FLEXIBLE_24H","type":"string","enum":["FLEXIBLE_24H","MODERATE_48H","STRICT_7D","NON_REFUNDABLE"]},"meetingPoint":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"location":{"description":"Start location if it differs from the partner's address.","anyOf":[{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},{"type":"null"}]},"indoor":{"default":false,"type":"boolean"},"familyFriendly":{"default":false,"type":"boolean"},"bestTimes":{"default":[],"maxItems":4,"type":"array","items":{"type":"string","enum":["MORNING","AFTERNOON","EVENING","NIGHT"]}},"schedule":{"anyOf":[{"maxItems":14,"type":"array","items":{"type":"object","properties":{"days":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":1,"maximum":7},"description":"ISO weekdays, 1 = Monday … 7 = Sunday"},"times":{"minItems":1,"maxItems":24,"type":"array","items":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"description":"Local start times in the partner's city timezone"},"capacity":{"type":"integer","minimum":1,"maximum":10000}},"required":["days","times","capacity"]},"description":"Weekly pattern used to generate bookable slots for the next 30 days."},{"type":"null"}]},"status":{"default":"DRAFT","description":"ACTIVE requires title, summary and description in en and de, at least one image, and (for SLOTS) a schedule or upcoming slots.","type":"string","enum":["DRAFT","ACTIVE","PAUSED"]},"externalProductId":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"required":["title","summary","description","category","priceMinor"],"additionalProperties":false},"OfferPatch":{"type":"object","properties":{"title":{"description":"Offer title. A plain string is stored as English; an object maps locales (en, de, fr, es, it) to text.","anyOf":[{"type":"string","minLength":1,"maxLength":120},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"type":"string","minLength":1,"maxLength":120}}]},"summary":{"description":"One-line teaser shown on cards. A plain string is stored as English; an object maps locales (en, de, fr, es, it) to text.","anyOf":[{"type":"string","minLength":1,"maxLength":240},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"type":"string","minLength":1,"maxLength":240}}]},"description":{"description":"Long description, paragraphs separated by a blank line. A plain string is stored as English; an object maps locales (en, de, fr, es, it) to text.","anyOf":[{"type":"string","minLength":1,"maxLength":5000},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"type":"string","minLength":1,"maxLength":5000}}]},"highlights":{"anyOf":[{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}}]},"included":{"anyOf":[{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}},{"type":"object","propertyNames":{"type":"string","enum":["en","de","fr","es","it"]},"additionalProperties":{"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":160}}}]},"category":{"type":"string","enum":["EXPERIENCES","TOURS","WELLNESS","DINING","CULTURE","OUTDOOR","FAMILY","NIGHTLIFE","TRANSPORT","SERVICES"]},"tags":{"maxItems":20,"type":"array","items":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{0,39}$"}},"images":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":500}},"durationMinutes":{"anyOf":[{"type":"integer","minimum":5,"maximum":10080},{"type":"null"}]},"priceMinor":{"type":"integer","minimum":0,"maximum":10000000,"description":"Guest price in minor units (cents) per price unit."},"currency":{"description":"Always the currency of the partner's city (the default); any other value is rejected.","type":"string","pattern":"^[A-Z]{3}$"},"priceType":{"type":"string","enum":["PER_PERSON","PER_GROUP","PER_UNIT"]},"minGuests":{"type":"integer","minimum":1,"maximum":50},"maxGuests":{"type":"integer","minimum":1,"maximum":50},"bookingMode":{"type":"string","enum":["INSTANT","REQUEST","FREE_RESERVATION"]},"availabilityType":{"type":"string","enum":["SLOTS","OPEN_DATED"]},"validityDays":{"anyOf":[{"type":"integer","minimum":1,"maximum":730},{"type":"null"}]},"leadTimeMinutes":{"type":"integer","minimum":0,"maximum":10080},"responseSlaMinutes":{"type":"integer","minimum":15,"maximum":2880},"cancellationPolicy":{"type":"string","enum":["FLEXIBLE_24H","MODERATE_48H","STRICT_7D","NON_REFUNDABLE"]},"meetingPoint":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"location":{"description":"Start location if it differs from the partner's address.","anyOf":[{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180}},"required":["lat","lng"]},{"type":"null"}]},"indoor":{"type":"boolean"},"familyFriendly":{"type":"boolean"},"bestTimes":{"maxItems":4,"type":"array","items":{"type":"string","enum":["MORNING","AFTERNOON","EVENING","NIGHT"]}},"schedule":{"anyOf":[{"maxItems":14,"type":"array","items":{"type":"object","properties":{"days":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":1,"maximum":7},"description":"ISO weekdays, 1 = Monday … 7 = Sunday"},"times":{"minItems":1,"maxItems":24,"type":"array","items":{"type":"string","pattern":"^([01]\\d|2[0-3]):[0-5]\\d$"},"description":"Local start times in the partner's city timezone"},"capacity":{"type":"integer","minimum":1,"maximum":10000}},"required":["days","times","capacity"]},"description":"Weekly pattern used to generate bookable slots for the next 30 days."},{"type":"null"}]},"status":{"type":"string","enum":["DRAFT","ACTIVE","PAUSED"]},"externalProductId":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"additionalProperties":false},"AvailabilityPut":{"type":"object","properties":{"slots":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"object","properties":{"startsAt":{"type":"string","format":"date-time","description":"Slot start, ISO 8601 with offset."},"capacity":{"type":"integer","minimum":0,"maximum":10000},"closed":{"default":false,"type":"boolean"},"priceMinorOverride":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000000},{"type":"null"}]}},"required":["startsAt","capacity"],"additionalProperties":false}}},"required":["slots"],"additionalProperties":false},"DeclineBody":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500}},"additionalProperties":false},"RedeemBody":{"type":"object","properties":{"voucherCode":{"description":"Optional: the code the guest presented; must match the booking.","type":"string","minLength":4,"maxLength":20}},"additionalProperties":false},"WebhookBooking":{"type":"object","properties":{"id":{"type":"string"},"reference":{"type":"string"},"status":{"type":"string","enum":["PENDING_PAYMENT","REQUESTED","CONFIRMED","DECLINED","CANCELLED","REDEEMED","NO_SHOW","EXPIRED"]},"paymentStatus":{"type":"string","enum":["NOT_REQUIRED","UNPAID","AUTHORIZED","PAID","REFUNDED","PARTIALLY_REFUNDED","FAILED"]},"offerId":{"type":"string"},"startsAt":{"type":["string","null"],"format":"date-time"},"validUntil":{"type":["string","null"],"format":"date-time"},"quantity":{"type":"integer"},"guestName":{"type":"string"},"roomNumber":{"type":["string","null"]},"notes":{"type":["string","null"]},"currency":{"type":"string"},"totalMinor":{"type":"integer"},"partnerPayoutMinor":{"type":"integer"},"voucherCode":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","reference","status","paymentStatus","offerId","startsAt","validUntil","quantity","guestName","roomNumber","notes","currency","totalMinor","partnerPayoutMinor","voucherCode","createdAt"],"additionalProperties":false},"WebhookEvent":{"type":"object","properties":{"id":{"type":"string","description":"Stable across retries — use it to deduplicate."},"type":{"type":"string","enum":["booking.created","booking.confirmed","booking.cancelled","booking.redeemed"]},"created":{"type":"integer","description":"Unix timestamp (seconds)."},"data":{"$ref":"#/components/schemas/WebhookBooking"}},"required":["id","type","created","data"],"additionalProperties":false}}}}