Skip to content
Let’s Talk
Ecommerce

Headless Commerce Explained: What It Is and When It Makes Sense

Headless commerce explained in plain English: how separating the storefront from the ecommerce engine works, the trade-offs, and who it really suits.

By the Prism Works Studio team · · 7 min read

Key takeaways

  • Headless commerce separates the customer-facing storefront from the system that handles products, carts and orders.
  • It offers design freedom and flexibility across channels, but adds build cost, technical complexity and ongoing maintenance.
  • Most small and mid-sized UK stores are better served by a well-built theme; headless suits brands with specific needs a theme cannot meet.

Headless commerce is an approach to building an online shop where the front end, the part customers see and click, is built separately from the back end that manages products, prices, stock, carts and orders. The two talk to each other through APIs. In a traditional setup, such as a standard Shopify theme, the platform provides both halves together.

The idea attracts a lot of attention, and it can be the right call. But it is a significant technical decision, and it is worth understanding what you gain and what you take on before choosing it.

How headless commerce works

Think of a traditional store as a shop where the window display and the stockroom are built as one unit by the same company. Headless keeps the stockroom (your ecommerce platform) but lets you design and build the shop floor from scratch, using whatever tools your developers prefer.

Traditional (themed)Headless
Front endPlatform theme, customisedCustom-built application
Back endEcommerce platformEcommerce platform (via API)
ContentUsually in the platformOften a separate content management system
HostingHandled by the platformFront end hosted separately
Who maintains itPlatform plus light developer inputA development team, ongoing

What headless can offer

  • Design freedom. Layouts and interactions are not constrained by a theme's structure.
  • Multiple front ends. The same product data can power a website, a mobile app, in-store screens or other channels.
  • Richer content. Pairing commerce with a dedicated content system can suit brands where editorial content drives sales.
  • Potential performance gains. A carefully built front end can be very fast, though this depends entirely on how well it is built.

What it costs you

  • Higher build cost. You are building an application, not configuring a theme.
  • Ongoing development. Changes that a theme editor would handle may need a developer.
  • Lost conveniences. Many plug-and-play apps assume a standard theme and may not work, or need custom integration.
  • More moving parts. Separate hosting, content systems and integrations mean more to monitor and more that can break.
  • SEO responsibility. Things a platform handles by default, such as metadata, sitemaps, structured data and how pages render for search engines, must be built and checked deliberately.

Who headless tends to suit

Headless is usually worth considering when a business has a clear requirement a themed store cannot meet. Examples include a brand selling through several digital touchpoints from one catalogue, a content-heavy publisher that also sells products, or a business with an in-house or retained development team ready to own the front end.

It is usually not the right first step for a growing store whose main problems are traffic, conversion or product range. Those are better tackled with SEO, a sharper theme and conversion work. Our guides to ecommerce CRO and Shopify speed optimisation cover what a themed store can achieve.

The main building blocks

A headless setup is usually made up of several parts working together. Understanding them helps when reading proposals or talking to developers.

The commerce engine

This is the platform that stores products, prices, inventory, customers and orders, and processes checkout. Shopify, among others, can play this role. It exposes its data through APIs that the storefront calls.

The front-end application

This is the website itself, often built with a modern JavaScript framework. It requests product and cart data from the commerce engine and content from a content system, then assembles pages for visitors. It needs its own hosting and deployment process.

The content management system

Many headless builds use a separate content system for editorial pages, landing pages and rich product storytelling. This gives marketers flexible tools, but it also means content and products live in different places, which needs thought when planning workflows.

Integrations

Search, reviews, personalisation, email, analytics and other services are connected individually. In a themed store, many of these arrive as apps with a few clicks. In a headless store, each may involve development work.

Performance: promise and reality

Speed is often presented as the main benefit of headless. A well-built headless front end, with careful caching and server-side rendering, can deliver very quick page loads. But speed is a result of good engineering, not of the architecture itself. Heavy scripts, large images and poorly planned data fetching slow a headless site just as they slow a themed one.

If speed is the main reason you are considering headless, it is worth first measuring what an optimised theme can achieve. Removing unused apps, compressing images and cleaning up theme code frequently produce meaningful gains at a fraction of the cost. Our website speed guide covers the general principles.

SEO considerations in more detail

Search engines need to be able to crawl and render your pages reliably. With a headless build, your team should check that:

  • Pages are rendered on the server or pre-rendered, so content is available without relying entirely on client-side JavaScript.
  • Each page has a unique title, description and canonical tag.
  • Product structured data is output correctly.
  • An XML sitemap is generated and kept up to date as products change.
  • Redirects from old URLs are planned before launch if you are replacing an existing store.
  • Internal linking, breadcrumbs and pagination are implemented properly.

None of this is unusual, but it is easy to overlook when the focus is on design and features. Our ecommerce SEO checklist and guide to redesigning without losing rankings are useful references.

Total cost of ownership

When comparing options, look beyond the initial build. A headless store carries ongoing costs for front-end hosting, the content system, developer time for changes and updates, and maintaining integrations as third-party services evolve. A themed store has app subscriptions and occasional development, but the platform carries more of the maintenance burden. Ask any supplier to outline expected ongoing work, not just the launch budget. Our website maintenance guide explains why ongoing care matters for any site.

A middle path

Modern themes are far more flexible than they were. Custom sections, metafields and careful development can deliver a distinctive design without going fully headless. Some businesses also go headless for one part of the experience, such as a campaign microsite, while keeping the main store themed. Our theme customisation guide explains how far a theme can be pushed.

Questions to ask before going headless

  1. What specific thing can we not do with a theme?
  2. Who will maintain the front end in two years' time, and what will that cost?
  3. Which apps and integrations do we rely on, and will they work headless?
  4. How will we protect SEO during and after the build?
  5. Do our marketing and merchandising teams still get the editing control they need?

If a platform change is also on the table, our Shopify Plus migration guide and ecommerce website cost guide may help with planning. For our own fees, see pricing.

How Prism Works Studio approaches it

Through our website and ecommerce development service, we can help you weigh up whether headless is genuinely needed or whether a well-built themed store would meet your goals with less cost and complexity.

FAQs

What does headless mean in ecommerce?

It means the storefront customers see is built separately from the ecommerce platform that handles products and orders, with the two connected by APIs.

Is headless commerce faster?

It can be, but speed depends on how the front end is built and hosted. A poorly built headless site can be slower than a well-optimised theme.

Is headless commerce bad for SEO?

Not inherently, but it shifts responsibility to your developers. Rendering, metadata, structured data, sitemaps and redirects must all be handled properly.

Can Shopify be used headless?

Yes. Shopify offers APIs and tools designed for headless builds, so its back end can power a custom front end.

What is the difference between headless and composable commerce?

Headless refers specifically to separating the front end from the back end. Composable commerce goes further, assembling the whole stack from separate specialist services, such as search, content, checkout and promotions, chosen individually. Composable setups are usually headless, but a headless store need not be fully composable.

Can I go back to a theme after going headless?

Yes, provided your commerce platform supports themes, since your product and order data stays in the platform. You would need to rebuild the storefront as a theme and handle redirects and any custom features carefully.

How long does a headless build take?

Typically longer than a themed build, because more is created from scratch and more integrations need connecting. The timescale depends heavily on scope, so ask for a detailed plan rather than relying on general estimates.

Do small businesses need headless commerce?

Rarely. Most small and mid-sized stores get better value from a well-built theme and investment in content, SEO and conversion.

Free consultation

Let’s Talk About Growing Your Business Online.

Book a free, no-obligation 30-minute discovery call with one of our senior digital strategists.