Skip to main content
Commerce on Crevio is a small set of primitives that compose into anything you can sell — a one-time download, a monthly membership, a payment-plan course, or a pay-what-you-want lead magnet. You rarely have to assemble all of this by hand. Crevio is AI-native: you can just ask the agent to “create a $49 course with a 3-payment plan and a launch discount” and it will build the products, price variants, and discounts for you through the same API documented here. The primitives below are what those tools (and your own integrations) operate on.

The mental model

Everything hangs off your account (the tenant). Within it, the flow looks like this:
Read it as a sentence: a product bundles experiences via its price variants; a buyer pays through a checkout, which produces an order made of order items; recurring purchases become subscriptions, and you can invoice or refund along the way.

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: 4900 is $49.00. currency is 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" — not product_id. The same holds for customer, order, discount, and price_variant.
Creation order matters. Publishing a product requires at least one price variant. Creating a product with status: "active" in a single call fails with 422. The correct sequence is always: create the product as a draft → add one or more price variants → PATCH the product to status: "active". See Products & pricing.

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.