GET /reservations/calendar
/api/store/[slug]/reservations/calendarServes the store's reservation bookings as a subscribable iCalendar (.ics) feed, filtered by the statuses configured on the feed and covering 14 days back through 365 days ahead.
Path parameters
slugstringrequiredBusiness (store) slug that identifies the tenant
Query parameters
tokenstringrequiredCalendar feed secret token (minimum 10 characters); identifies and authorizes the feed
Responses
The request succeeded.
The credential is valid but is not allowed to do this.
No such store, or no such record inside it.
A service this endpoint depends on is unavailable, usually Stripe.
What comes back
Not JSON on success - returns text/calendar (iCalendar VCALENDAR with one VEVENT per reservation: UID, DTSTART, DTEND, SUMMARY with customer name, DESCRIPTION with email/party size/notes, STATUS CONFIRMED or CANCELLED) with an inline .ics Content-Disposition and 120s public cache. Errors return JSON with an error key (404, 403, or 503 when calendar tables are missing).