Headless storefront

Sell Blend‑ed courses on your own website, with your own design.

Your site reads the catalog from Blend‑ed's API, sends buyers through checkout with your payment provider, and Blend‑ed enrolls them once the payment is confirmed.

How it works.

1

List courses and programs

Your server calls /discovery/courses/ and /discovery/programs/ with your credential. Each card gets its title, image, short description, price and currency, regional price, rating and review count. Filter by search, organization or tag.

2

Build the course page

The course detail returns the overview, image and intro video, dates and enrollment window, time needed, language, each plan with its price and whether it carries a certificate, and the reviews. Load the outline only where the page shows it.

3

Check who is buying

One call tells your site whether the visitor is signed in, so it starts a guest checkout or a signed-in one.

4

Start checkout

Send the organization, each item (course or program) and the plan. Blend‑ed prices the order on the server and returns what your payment provider's own checkout needs, such as Stripe or Razorpay, with the total and currency.

5

Payment confirmed, learner enrolled

The provider's signed webhook confirms the payment and Blend‑ed enrolls the buyer. A guest with a new email gets a registration link, and the enrollment waits for them. Free items skip payment.

Rules for production.

Two IDs

Use the course ID for checkout and enrollment, and the course key for details and the outline. They aren't interchangeable.

Prices

Regional prices in the catalog are for display. The checkout total is what's charged.

The credential

Keep it on your server. The browser calls your server, and your server calls Blend‑ed.

Guest checkout

Rate-limit it by IP address and email.

Timeouts

Treat them as unknown, and check the payment's state before charging again.

Paid elsewhere

If another shop has already charged the buyer, use the enrollment API instead of checkout.

Related.

Part of Integrations and developer tools: every connection Blend‑ed offers.

API and webhooks: the enrollment API and the event webhooks.

Storefront and catalog: the storefront inside Blend‑ed, for providers without a site of their own.

Checkout and payment gateways: every payment provider Blend‑ed works with.

Show us your website.

We'll show you how your course pages and checkout would run on Blend‑ed's storefront API.