Skip to content

Create and sell an offer

An offer is one way to sell one product. The product says what the access is; the offer says how it is sold. One product usually has several offers, priced and pitched differently.

You need the catalog write permission (the Owner, Admin and Developer roles). Every change here edits the draft and reaches checkout after the next deploy. Audience is the exception: decisions read it as saved.

  1. Create the product first: see Set up a product.
  2. Open Revenue › Catalog › Offers and select New offer.
  3. Fill in the form:
    • Name: what staff and your page call it, up to 200 characters.
    • Code: your own offer code, kept exactly as typed. Letters, digits, dots, hyphens and underscores, up to 128 characters. The offer’s id is made from it: ofr_, then the code in lower case with each run of other characters replaced by _, and any _ left at its start or end dropped. pro-annual and pro-annual. both become ofr_pro_annual.
    • Access set: the product this offer sells.
    • Family and Audience: optional, your own words. Audience says who the offer is sold to. A user’s user.membership_type fact is the audience of the offer behind their membership grant.
  4. Select Create. The offer is created not purchasable and opens for editing.

The offer’s screen has five sections: Merchandising, Access set, Discount, Prices and Upgrades.

In Merchandising:

Field What it changes
Purchasable Whether checkout sells it now. Off by default.
Status active or archived. An archived offer is not sold.
The offer is the trial Marks a free trial offer. Checkout applies your organization’s trial reuse rule to it.
Direct link Lets a checkout page sell it from a link. Off by default.
Trial days The trial length your page shows. 1 to 365 whole days, or empty for none.
Renews Whether it bills again at the end of a term, for your page to show.
Name, Code, Family How staff and your page name it.
Audience Who it is sold to. Read as user.membership_type.
Eligibility Who may buy it, as free text. Empty means anyone. Checkout does not enforce it.
Import key A second identifier, if you carry one.
Upgrade template Which of your upgrade pages renders it.

The free-text fields are your own vocabulary. An outcome’s ref field can return all of them except Import key, together with the discount and the prices, so your page renders the offer from the decision.

Trial days and Renews are labels. What the buyer is charged, and when, is set by the price in your billing provider.

Checkout charges the price you attach to the offer in its Prices section. Pick one from Attach a price and select Attach price. The list holds every active price your billing provider synced to EdgeKit, including prices nobody subscribes to yet. A price you created in your billing provider a moment ago appears after the next catalog sync. To run one now, select Sync catalog on Revenue › Billing provider › Pricing.

A price is attached in every currency your billing provider sells it in. The amounts come from your billing provider and EdgeKit never changes them. Attach the same price again to pick up a currency or an amount your billing provider changed since.

Rules for attaching a price:

  • An offer sells one price per billing provider. A monthly price and a yearly price are two offers.
  • Several offers can share one price, for example to sell it with and without an introductory discount.
  • An archived price, an add-on or a metered price cannot be attached.

A user subscription EdgeKit did not sell, one your billing provider holds that no EdgeKit checkout started, goes to the offer naming the coupon it redeemed. When several offers share the price and the same coupon, or no coupon, one of them receives those user subscriptions. It starts as the offer the price was attached to first, and each sharing offer’s price row names it. To change it, select Send them here on another offer, then deploy. The deploy is refused while offers share a price and coupon and none of them receives those user subscriptions.

The section shows each attached price with its amounts, interval, live user subscriptions and whether the price is active in your billing provider. Deploy the change to sell it: an attached price is part of your draft until then.

Subscribers already on a price you attach get their grant on their next billing event. EdgeKit can also run a backfill for all of them at once.

Detach takes a price off the offer in every currency. It is refused while a live user subscription is on the price, and the refusal says how many. Moving those subscribers to another offer is done by EdgeKit.

An offer with no active price for your default billing provider cannot be bought: checkout answers 409 offer_not_priced, and the deploy gate blocks a purchasable, active offer in that state. An offer that every outcome sells on a checkout page needs a price of that page’s billing provider instead.

When an offer has active prices in several currencies, checkout charges in the currency your page sends, or else in the site’s currency. Every site selling the offer then needs a currency of its own, or the deploy gate blocks the deploy. See Currency.

An introductory discount takes a percentage or a fixed amount off the first few billing periods. Every buyer gets it; there is no code to enter. An offer has at most one.

  1. In Discount, choose percentage off or fixed amount off.
  2. For a percentage, enter Percent, up to four decimals. It applies to every currency. 100 is free.
  3. For a fixed amount, enter an amount for each currency the offer sells in, in minor units: 2000 is 20.00. A fixed amount needs an active price, so the currency exists.
  4. Enter Periods: 1 is the first billing period, 3 the first three. A period is the price’s own interval.
  5. Pick the Billing provider coupon: the coupon in your billing provider that takes this discount off the charge. Create the coupon in your billing provider first; the list holds the coupons your billing provider synced to EdgeKit. EdgeKit names the coupon and never creates one. Saving is refused for a coupon that has expired, has been redeemed as often as it allows, or does not apply to the price the offer sells. Attaching a price the coupon does not apply to is refused the same way.
  6. Save, then deploy.

What the buyer is charged comes from the coupon. Percent, amounts and periods are what your page shows, and the Introductory column under Prices is an estimate from them. Keep the coupon and the discount in step.

The deploy is refused when:

  • a fixed discount has no amount, or no amount for a currency the offer sells in;
  • an offer that is on sale has a discount and no billing provider coupon code.

A coupon that stops being redeemable after you picked it is a warning at deploy, never a block: your billing provider has the final word. An offer not on sale with a discount and no coupon code deploys with a warning. Checkout never charges full price for a discount with no coupon code: it answers 409 offer_discount_unsupported.

To remove the discount, choose none and save.

  1. Check that Prices lists an active price.
  2. In Merchandising, tick Purchasable, keep Status active, and save.
  3. Add an offer_token field naming the offer to an outcome in Revenue › Decision Engine › Outcomes. That outcome is where your page gets the offer token checkout needs.
  4. Deploy from Delivery › Deployments › Versions.

The deploy is refused when an outcome’s offer_token field names an offer that is not purchasable or not active, so a live outcome never offers something checkout would refuse. It is also refused when an offer on sale has active prices from two billing providers, unless both are active billing providers: then a checkout page sells it through its own, and the default sells the rest.

Then sell it: see Sell an offer with checkout.

Clear Purchasable, or set Status to archived, and deploy. Either one stops new purchases and revokes nothing: every grant bought through the offer keeps working and keeps renewing with your billing provider. An archived offer leaves the default offers list but stays in the console; setting Status back to active restores it.

First remove the offer from every outcome’s offer_token field, or the deploy is refused.

The console cannot delete an offer.

In Access set, pick another product and select Assign. Purchases from the next deployment on get a grant for the new product. Grants already written keep the product they were written with.

Upgrades shows both directions: the offers this one leads to (Upgrades to) and the offers that lead to it (Upgraded from). You edit Upgrades to here. To change an Upgraded from path, open the offer it starts from.

Each edge in Upgrades to has four fields:

Field What it changes
Kind The list the edge is in. The account page reads upgrade and frequency_change. A checkout page reads frequency_change and related. Any other kind is your own word.
Offer The offer it leads to. It cannot be this offer.
Position Its order within its kind, lowest first. Two edges of one kind cannot have the same position.
Best value Marks the edge for your upgrade page to badge.

Select Add an edge to add one or the bin icon to remove one, then select Save upgrades. The change takes effect with the next deploy. The save offer is not set here: set it in Save offer.

The list shows each offer’s Offer, Product, Audience, Sale, Trial and Prices.

edgekit.ai