Skip to content

Mark the party a no-show (idempotent)

POST
/bookings/{booking_id}/no-show
curl --request POST \
--url https://quikstik-core.fly.dev/bookings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/no-show \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \
--data '{ "at_ms": 1, "reason": "example" }'

Appends the no_show fact (“No-show · {guest}” on the Heartbeat). Status only — UNLESS the booking’s policy gives no_show a retaining outcome (no_refund / a partial refund) on a merchant-governed booking, in which case the existing cancellation seam receives that exact split (idempotency key no-show:{booking_id}) and the response carries policy_applied: {applied: true, refund_bps}. Tenant 1 has no such policy, so there it is status only. no-show on a checked-in booking is 409 bad_transition.

booking_id
required
string format: uuid
x-tenant-id
required
string format: uuid

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.

Media typeapplication/json
object
at_ms
integer format: int64
reason
string
<= 300 characters

Example generated

{
"at_ms": 1,
"reason": "example"
}

Marked.

Media typeapplication/json
object
booking_id
required
string format: uuid
status
required
string
Allowed values: checked_in no_show
already
required
boolean
at_ms
required
integer format: int64
policy_applied

No-show only: whether the policy’s retaining outcome reached the cancellation seam.

object
applied
boolean
refund_bps
integer

Example

{
"status": "checked_in"
}

Missing or invalid session bearer token

Media typeapplication/json
object
reason
required

Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).

string

Example

{
"reason": "sold_out"
}

The session’s effect authority does not cover this operation

Media typeapplication/json
object
reason
required

Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).

string

Example

{
"reason": "sold_out"
}

No such booking.

bad_transition.

bad_body, bad_at_ms, bad_reason.

No durable backend is wired for this operation (fail-closed)

Media typeapplication/json
object
reason
required

Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).

string

Example

{
"reason": "sold_out"
}