The week strip — per-date departures, riders, balance due and worst conditions
const url = 'https://quikstik-core.fly.dev/days?from=2026-04-15&to=2026-04-15';const options = { method: 'GET', headers: { 'x-tenant-id': '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0', Authorization: 'Bearer <token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://quikstik-core.fly.dev/days?from=2026-04-15&to=2026-04-15' \ --header 'Authorization: Bearer <token>' \ --header 'x-tenant-id: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'For each merchant-local date in [from, to] (inclusive, at most 14 days): the number of
scheduled departures, riders on live parties, balance due on live parties, and the most
severe conditions state among the day’s scheduled departures
(ride < watch < guest_may_cancel < operator_call; null when none is scored). Every
date in the range is present, empty days included. Same counting law, scope and zone
resolution as getDay. Auth: a session, or an operator key scoped bookings.read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Tenant identifier (UUID).
Authn/authz semantics are intentionally TBD for this contract slice; this header exists to keep the contract explicitly multi-tenant from day 0.
Query Parameters
Section titled “Query Parameters”First date, YYYY-MM-DD.
Last date, YYYY-MM-DD; not before from, at most 13 days after it.
Responses
Section titled “Responses”One entry per date
object
object
Example
{ "days": [ { "conditions_worst": "ride" } ]}Invalid_session
Operator key without bookings.read
Time_zone_unresolved or mixed_currency
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}Invalid_date, invalid_range (from after to), or range_too_long (> 14 days)
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}Days_unavailable
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}