The mental model
Everything hangs off your account (the tenant). Within it, the flow looks like this:The primitives
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.

