PriceVariants

Link experience to price variant

Links an experience to a price variant so buying that variant grants the experience. Back-grants access to everyone who already bought.

post/price_variants/{price_variant_id}/experiences

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/price_variants/{price_variant_id}/experiences
  • Auth: API key in header Authorization

Path parameters

price_variant_idstring required

The price variant ID

Headers

Idempotency-Keystring

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

experience_idstring required

Experience ID or slug to link

Response

Experience linked

idstring required
objectstring required
namestring required
slugstring required
descriptionstring nullable required
access_type'secret' | 'open' required
created_atstring date-time required
updated_atstring date-time required
typestring required
active_grants_countinteger required
detailsobject required

Type-specific fields, shaped by the experience's type. Mirrors what PATCH accepts under details (see the per-type *DetailsRequest schemas), plus read-only collections (e.g. a course's chapters).

Changes

No recorded changes to this operation across all 2 revisions of this API.