Back to Blog

Headless commerce is a way of building an online store in which the part customers see is separated from the system that runs the store. The two parts communicate through an API, so each one can be built and changed on its own. The term comes up often when business owners research online stores, and it is reasonable to wonder whether it applies to a smaller business. This article explains what headless commerce means, what it does well, what it costs in money and effort, and why most small stores are better served by a well-built store on a standard platform.

I design and build online stores and product configurators at Hunter Creative Media & Design, a studio in Aurora, IL. Headless commerce is one of several ways to put a store together, and it sits alongside the theme-based approaches I describe in how small businesses build online stores.

What “Headless” Means

Every online store has two main parts. The front end is everything a shopper sees and touches: the pages, product photos, menus, and buttons. The back end, often called the commerce engine, holds the product catalog, prices, inventory, customer accounts, cart, checkout, and orders.

In a traditional store, the two parts work as one system. On Shopify, a theme turns the store’s data into pages. On WooCommerce, a WordPress theme does the same job. A theme is the design template that controls how the store looks, and it lives inside the platform.

In a headless store, the “head,” meaning the front end, is separated from the platform. Developers build the front end as its own application, and it requests products, prices, and cart updates from the commerce engine through an API. An API, short for application programming interface, is a defined set of requests that lets one piece of software ask another for information or tell it to take an action.

A developer at a desk with two monitors showing code
In a headless store, the shopper-facing site is a separate application that talks to the store’s engine.

How the Major Platforms Support It

Shopify and WooCommerce both offer APIs for headless stores. Shopify’s Storefront API lets a custom front end display products and collections, manage carts, and take shoppers through checkout. Shopify also offers Hydrogen, which it describes as its headless stack, along with a hosting service called Oxygen. Shopify states that Oxygen is available on all of its plans except Starter at no extra cost.

WooCommerce provides the Store API, which its documentation describes as a way to develop customer-facing cart, checkout, and product features. BigCommerce offers a comparable storefront API for headless builds.

Theme-based storeHeadless store
Front endA theme inside the platformA separate application built by developers
Design controlFull control within the theme systemFull control of every screen
Apps and pluginsMost add their features to the theme from the adminSome need developer work to appear on the front end
Editing pagesIn the platform’s adminOften in a separate content system, or by a developer
HostingIncluded (Shopify) or one hosting account (WooCommerce)The platform, plus hosting for the front end
UpkeepOne system to update and testTwo systems to update and test

What Headless Commerce Does Well

Headless commerce has real strengths, and they are worth understanding before you decide.

  • You get complete control of the shopping experience. Because the front end is custom software, every page and interaction can be designed exactly as you want, without working inside a theme’s structure.
  • One catalog can serve several front ends. A single commerce engine can supply a website, a mobile app, an in-store screen, or a sales tool, with the same products and prices in each place.
  • The store can live inside systems you already run. Some businesses already use a separate content management system (CMS), which is the software staff use to edit pages, or a custom application. A headless store lets them add commerce without replacing that system.
  • Performance can be tuned to the project. A skilled team can build a very fast front end, although the speed comes from the quality of the work rather than from the headless approach itself.

The Costs and Tradeoffs

Headless commerce moves work from the platform to your developers. Each of the following points adds cost, either at launch or every month after it.

Two Builds Instead of One

In a theme-based store, the platform and theme supply most of the shopper-facing pages. In a headless store, developers build the product pages, collection pages, search, cart, and account pages, and they connect each one to the API. A collection page is a page that lists a group of products, such as a category.

Apps and Plugins Need More Work

Many Shopify apps and WooCommerce plugins add their features by placing them in the theme. A headless front end has no theme for them to use. A developer has to connect each feature through the app’s own API, if it offers one, or build the feature separately.

Everyday Edits Can Need a Developer

On a theme-based store, you can usually change a banner or rearrange a page from the admin. A headless store often needs a separate content management system for that kind of edit, or a request to a developer.

Search Basics Become the Developer’s Job

In a theme-based store, the platform and theme handle many search basics, such as page titles, sitemaps, and structured data. Structured data is code that describes a page’s content, such as a product’s price and availability, in a format search engines can read. On a headless front end, each of these has to be built and tested.

Two Systems to Maintain

The commerce engine and the front end both receive updates, and both must keep working together. Ongoing care costs more because there is more to care for.

Why Most Small Stores Do Not Need It

The benefits of headless commerce matter most when a business has several front ends, an in-house development team, or requirements a theme cannot meet. Most small stores have one website, a small team, and requirements that a well-built theme can handle.

  • A custom theme already gives you a distinctive design. A theme designed for your business, rather than a stock template, can look and work the way you want on the pages that matter.
  • You keep control of daily changes. You and your staff can add products, update prices, and change pages in the admin without calling a developer.
  • Apps and plugins work as their makers intended. Features install from the admin and appear on the store.
  • One system costs less to maintain. Updates and checkout testing cover one platform instead of two.
  • Your budget can go where shoppers notice it. Money that a second build would require can pay for better product photography, clearer product information, and a well-tested checkout.
A store owner photographing a sneaker with her phone at a desk with a laptop and packing supplies
On a theme-based store, owners can update products and pages themselves from the platform’s admin.

When Headless Does Make Sense

Headless commerce can be the right choice when one or more of the following is true:

  • You sell through several front ends, such as a website, a mobile app, and in-store screens, and you want one catalog behind all of them.
  • You already run a content system or custom application that the store needs to live inside.
  • You have in-house developers, or a long-term development budget, to maintain a custom front end.
  • The experience you need cannot be built within the platform’s theme system, even with custom development.

When a Custom Build Is the Better Path

For most small businesses that want something a standard theme cannot do, the better path is a custom theme with custom features built into it. That approach keeps the platform’s checkout, admin, and apps, and it adds only what your business needs. Common examples are a product configurator, a quote request that reaches the right person, wholesale price lists, or a connection to inventory or accounting software.

A product configurator is a tool that lets customers choose options, such as size, color, or printed text, and see the result before they order or request a quote. If you are considering one, I explain what a product configurator is and how it works.

My work for Card Imaging, a family-owned ID card printer dealer in Woodridge, IL, shows what custom features look like without a headless setup. The site runs on WordPress with a custom theme I built, and its product pages are generated from a single source of product information. Its lanyard builder walks customers through eight steps with a live preview, produces a downloadable proof, and emails the proof and logo to a sales representative. The Card Imaging case study covers the project in more detail.