Read offering variant
const url = 'https://quikstik-core.fly.dev/offerings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/variants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/offerings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/variants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>' \ --header 'x-tenant-id: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'Reads a single offering variant scoped to its parent offering, resolved from the
governed catalog. Returns the variant’s structured shape: scheduled duration
(duration_minutes), meeting_point, per-departure capacity, participant policy text,
and the variant’s add_ons. Price and start-times live on the variant’s pricing schedule
and availability surfaces respectively, not on this read. The variant must belong to the
{offering_id} in the path; a mismatched or unknown id is 404.
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.
Responses
Section titled “Responses”Offering variant
object
Unit-of-sale label (e.g. per rider, per day); a free-text catalog label.
Scheduled duration in minutes. Null where the catalog lock did not state a convertible value.
Structured meeting point. Null where the catalog lock left it unspecified.
object
Display name of the meeting point.
Optional postal / street address.
Per-departure participant capacity. Null where the catalog lock left it TBD.
Free-text participant policy (e.g. age/height rules), carried verbatim from the catalog lock.
Add-ons / upgrades available on this variant (possibly empty).
object
Structured unit price in integer minor units. Null where the catalog lock left the add-on price TBD.
object
Amount in minor units (e.g. cents).
Whether selecting this add-on consumes a participant seat for capacity (e.g. the Island Time v1 Model T child carrier).
Catalog fields the v1 lock left unresolved for this add-on (possibly empty).
Example
{ "add_ons": [ { "unit_price": { "currency": "USD" }, "tbd_fields": [ "Description" ] } ]}Malformed offering or variant id (not a UUID)
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}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 variant under this offering for the caller’s tenant
object
Stable, machine-readable reason code (e.g. “sold_out”, “processor_not_configured”, “rail_refused”).
Example
{ "reason": "sold_out"}