Check the party in (idempotent)
const url = 'https://quikstik-core.fly.dev/bookings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/check-in';const options = { method: 'POST', headers: { 'x-tenant-id': '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"at_ms":1,"by":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://quikstik-core.fly.dev/bookings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/check-in \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-tenant-id: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \ --data '{ "at_ms": 1, "by": "example" }'Appends the checked_in fact, resolves open readiness pins that wait for the check-in
(condition.arg.checked_in = true) and puts “Checked in · {guest} · {by}” on the Heartbeat. A repeat is
200 {already: true}. Checking in a no-show (or a cancelled booking) is 409 bad_transition.
Session, or an operator key scoped bookings.write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path 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.
Request Body
Section titled “Request Body”object
When; defaults to now.
Who checked them in (a name for the Heartbeat line).
Example generated
{ "at_ms": 1, "by": "example"}Responses
Section titled “Responses”Checked in.
object
No-show only: whether the policy’s retaining outcome reached the cancellation seam.
object
Example
{ "status": "checked_in"}Missing or invalid session bearer token
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}The session’s effect authority does not cover this operation
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}No such booking.
bad_transition.
bad_body, bad_at_ms, bad_by.
No durable backend is wired for this operation (fail-closed)
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}