The mental model
Everything hangs off your account (the tenant). Within it, the flow looks like this:The primitives
| Primitive | Prefix | What it is |
|---|---|---|
| Product | prod_ | The listing a buyer sees. Has a lifecycle (draft → active → archived). Bundles experiences through its price variants. |
| Price variant | price_ | How a product is priced and billed. A single product can have several (e.g. “monthly” and “annual”). Drives free / fixed / pay-what-you-want and one-time / subscription / payment-plan behavior. |
| Experience | exp_ | What the buyer actually receives — a course, content library, download, or booking. Courses and content live under /experiences, not /products. Read-only over the API. |
| Checkout | co_ | A pay-for-this session. Takes line items ({ price_variant, quantity }), an email or customer, and optional discount code. Can also pay an invoice. |
| Checkout link | cl_ | A reusable, shareable URL that opens a pre-built checkout. Great for “buy now” buttons and campaigns. |
| Order | ord_ | A completed purchase. A read model — you create orders indirectly by completing checkouts. |
| Order item | ordi_ | One line of an order: a price variant and quantity. |
| Charge | ch_ | The payment record attached to an order. |
| Customer | cus_ | A buyer or lead (paid | free | lead). |
| Subscription | sub_ | A recurring purchase. Cancel / pause / resume over the API. |
| Invoice | inv_ | A request for payment. Paid by creating a checkout with the invoice param. |
| Discount | disc_ | A code (percentage | fixed) that reduces price at checkout. |
| Refund | — | Money returned on an order, full or partial. |
Products vs. experiences. A product is the listing and pricing; an experience is the deliverable. When you sell a course, the course content is an experience, and the product is what wraps it in a name, images, and one or more price variants. The Experiences API is read-only (
GET list and GET one) — you create and shape deliverables in the dashboard or by asking Crevio.Two conventions that trip people up
Crevio’s API follows a few consistent conventions. Two are worth internalizing before you write any commerce code:- Money is in cents.
amount: 4900is $49.00.currencyis lowercase ISO, e.g."usd". - Associations are a bare resource name plus a prefix-id string. Link a price variant to a product with
product: "prod_abc123"— notproduct_id. The same holds forcustomer,order,discount, andprice_variant.
Next steps
Products & pricing
The product lifecycle and the full price variant model, with worked examples for every billing type.
Checkouts
Create one-off checkouts and reusable checkout links to take payment.
Subscriptions & billing
Manage recurring revenue, invoices, refunds, and the order read model.
Discounts
Build promo codes and apply them at checkout or on checkout links.

