The product catalogue
The catalogue is the answer to two questions β what do you sell, and for how much. It lives in the official service's database: the products and the prices are rows, not code. The file the platform ships with holds the content a fresh database starts from; from then on the rows are what the site, the checkout and the entitlements read.
What the catalogue holds
Two tables, two different jobs.
| Table | Row | What it decides |
|---|---|---|
products | A product | The entitlement and the specification: delivery, edition, seats, benches, labs, features. |
product_prices | A price | The commercial terms: billing scheme, term, amount, currency. |
A product defines what a subscription grants. A price defines what it costs and for how long. The same product can carry several prices β monthly, annual, buyout β and each of them is a separate thing a customer can buy.
Products: what a subscription grants
| Field | Meaning |
|---|---|
code | The product's identity: lowercase letters, digits and underscores. Fixed at creation. |
name | The name customers read. |
delivery | hosted β the quota lives with the official service; self_hosted β the quota lives in the licence file on the machine. |
edition | The tier: trial, starter, professional or enterprise. |
seats | How many people. |
agents | How many agents the pool may hold. |
labs | How many labs. |
features | The capability bits this product grants. |
active | Whether it is on sale. |
sort_order | Where it sits in the catalogue listing. |
The feature vocabulary is closed β bench.connect, bench.live-view, automation.run,
test-cases.manage, reports.build, schedules.run, artifacts.export, identity.sso and
audit.log. A product picks from that list; it does not invent capability names.
Prices: what a customer buys
| Field | Meaning |
|---|---|
id | The price's identity β a UUID. |
product_code | The product this price belongs to. |
name | The name of this price, e.g. "Professional, annual". |
billing_scheme | standard, per_seat or usage_based. |
term | monthly, annual or one_time. A one-time price never expires. |
price_cents | The amount, in the smallest unit of the currency. |
currency | The currency, e.g. USD. |
active | Whether it is on sale. |
A monthly price and an annual price of the same product are two different things: different
periods, different unit prices, and β for one_time β no end date at all. What a purchase
records is the price, and the price points back at the product.
How a quantity becomes a quota
The billing scheme decides what the quantity of a purchase means, and therefore what is granted.
| Billing scheme | The quantity is | What is granted |
|---|---|---|
standard | How many copies β labs | labs = base labs Γ quantity |
per_seat | How many seats | seats = the larger of the product's seats and the quantity |
usage_based | How many benches | agents = the larger of the product's agents and the quantity |
The per-seat and per-bench schemes never drop below what the product already carries: buying one Professional still grants ten seats, not eleven.
The trial
The trial is a product like any other β saas_trial, with a zero-amount one-time price attached.
Starting a trial grants what that product row says, for fourteen days. Change the trial row and
the next trial follows the change.
Identifiers are a contract
The product code is the product's identity, and it appears on licences, entitlements and subscriptions alike. It is written once, at creation, and it is not a label you may reword β a customer's receipt, a licence file and an entitlement all name the same code.
Price ids are UUIDs. The prices that ship with the platform have a derived id, so re-seeding a database keeps the id β and everything already pointing at it β intact. Prices you add get a fresh id.
Where the catalogue is read
- Checkout.
/checkoutreads the catalogue throughGET /v1/products, which returns the products and prices that are on sale. A product added today is purchasable today. - The pricing page. The plans on the landing page are written copy, not a listing of the catalogue β a new product does not add a card there by itself.
- Entitlements. What a purchase grants is computed from the catalogue row at the moment of purchase, and then frozen: the entitlement is a snapshot. Editing a product changes what future purchases grant, and leaves the entitlements already granted as they are.
Changing the catalogue
The catalogue is edited in the site's admin console β prices, product types, new products. The procedure is in The site admin console.
Related pages
- The site admin console β who may change the catalogue, and how.
- Configuration β where the quota comes from in each delivery mode.
- Self-hosted Deployment β the licence file the catalogue feeds.
- Deployment modes β hosted console and in-house installation.