Skip to main content
A product is one thing you sell, such as “Acme Workspace” or “Acme Analytics”. Every plan belongs to exactly one product. Most companies start with one product. Add more when parts of your app are bought separately.

Product type: B2B or D2C

Each product has a type that decides who the customer is: You choose the type when you create the product. It is fixed once the product has a subscription.

The product slug

Each product has a slug, such as acme-workspace. If you sell more than one product, pass it as productSlug to scope a call to one product:
  • the hosted pricing page shows only that product’s plans
  • canAccess, credit balances and credit consumption look only at that product’s subscription
A customer can hold one live subscription per product, so a customer can subscribe to two products at once.

Lifecycle: draft, published, archived

Products, plans and add-ons share one lifecycle: Publishing a product publishes all of its draft plans with it, in one step. If any draft plan has no price yet, nothing is published and the dashboard names the plan to fix. Unarchiving returns an item to draft, so it is reviewed before it is sold again.
A plan is only sold when both the plan and its product are published. If a plan is missing from the pricing page or GET /api/public/plans, check both statuses first.