Read booking intent
const url = 'https://quikstik-core.fly.dev/booking-intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'GET', headers: {'x-tenant-id': '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'}};
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/booking-intents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'x-tenant-id: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'Reads a booking intent by id.
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.
Responses
Section titled “Responses”Booking intent
object
The departure (capacity leaf,) this hold bound to at creation, resolved server-side from (tenant, offering_variant_id, start_time). The purchase leg commits this leaf directly. Null only for an unscheduled hold (no start_time).
Unix epoch milliseconds.
Intent status (vocabulary only). This contract slice does not define lifecycle execution.
Examples: created, cancel_requested.
object
Participant identifier (stable within commerce). Creation/identity semantics are TBD.
Birth date (YYYY-MM-DD). Optional; semantics TBD.
object
Payer identifier (vocabulary only; does not imply payment execution).
Optional linkage for “payer covers subset of participants” (vocabulary only).
object
Attribution kind (vocabulary only; semantics TBD).
Affiliate identifier (TBD).
object
Example generated
{ "booking_intent_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "offering_variant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "departure_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "created_at_ms": 1, "status": "example", "start_time": "example", "duration_minutes": 1, "quantity": 1, "group_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "participants": [ { "participant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "display_name": "example", "birth_date": "example" } ], "payer_hints": [ { "payer_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "covers_participant_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] } ], "affiliate_attribution": { "kind": "example", "affiliate_id": "example", "referral_code": "example", "campaign": "example" }, "seller_tenant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "fulfilling_tenant_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "add_on_selections": [ { "add_on_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "quantity": 1 } ]}Not found