Blog
Headless Ecommerce: Worth It or Overkill
Headless ecommerce splits the storefront from the commerce API. When a headless ecommerce platform is worth that architecture, and when it is overkill.
Muhammad Zubair Akhtar
Headless ecommerce is a storefront that does not live inside the commerce system. The pages a shopper sees are a frontend you build and host, such as Next.js. Catalog, cart, and checkout data come from a commerce API: Shopify's Storefront API, WooCommerce's Store API, or an API you build on Laravel. This is a decision guide for owners. It covers what that split is, when a headless ecommerce platform is worth the work, and when the same store is better left as a theme.
I am Muhammad Zubair Akhtar, a senior software engineer in Lahore, Pakistan. I build WooCommerce stores and custom commerce on Laravel, and I use Next.js when the frontend should be its own application. If you want this choice made against your catalog, your checkout, and who will maintain it, that work sits under ecommerce development. Which engine to use in the first place is the ecommerce platform comparison.
On 11 November 2026 I read Shopify's headless overview, the Storefront API reference (the examples there use API version 2026-10), the Hydrogen docs for version 2026-10, WooCommerce's Store API, cart tokens, and REST API pages, plus Google's JavaScript SEO basics, the JavaScript troubleshooting guide, and the note on dynamic rendering. I have not called these APIs for this article.

Figure 1. Headless commerce architecture next to a monolithic store. The browser still asks for a page. Only the right-hand column fetches commerce from an API.
What headless ecommerce is
A normal store is one application. A Shopify theme is Liquid, rendered by Shopify. A WooCommerce store is a WordPress theme plus plugins, rendered by WordPress. A custom Laravel shop can render its own HTML from the same app that holds products and orders. The shopper's browser asks that one system for the page, and that system answers with HTML.
A headless store splits the job. The browser asks your frontend for the page. Your frontend asks a commerce API for products, prices, and the cart, then returns HTML. Shopify's headless overview puts it this way: you build the frontend, and Shopify's APIs handle the commerce underneath. The same shape fits WooCommerce and a Laravel API. The commerce rules stay in the backend. The screens move.
The split does not add a catalog, a tax engine, or a payment gateway. Those stay where they already are, or you build them yourself on Laravel.
Three backends, one shape
| Backend | What the storefront calls | Where checkout lives |
|---|---|---|
| Shopify | Storefront API, GraphQL only, at /api/2026-10/graphql.json on the shop domain | Handed off to Shopify. Customer accounts use the Customer Account API |
| WooCommerce | Store API at /wp-json/wc/store/v1 for products, the cart, and checkout | Store API checkout for the current customer. Admin edits use the authenticated REST API |
| Laravel | HTTP routes you publish | The checkout you build. Payment still follows the gateway |
Shopify's overview names two headless APIs. The Storefront API serves products, collections, search, and the cart, and hands customers off to checkout. The Customer Account API lets customers sign in and serves their orders, addresses, and profile. The Storefront API reference says the API is GraphQL only, with no REST API for storefronts, and that you pin a supported version in the URL so the app stays stable. On the day I read it, the documented version was 2026-10.
Tokenless access covers products, collections, search, and the cart, with a query complexity limit of 1,000. A public access token is for a browser or a mobile app, where the buyer can see it. A private access token is for your server. Shopify says to treat the private token as a secret and not to use it in client-side code. Do not put it in a variable that your frontend bundle exposes, such as a NEXT_PUBLIC_ value. When the server call comes from a buyer, the same docs say to send that buyer's IP in the Shopify-Storefront-Buyer-IP header. Without it, Shopify cannot tell one buyer from another, and the request can be throttled.
The documented tokenless request looks like this. The shop name is a placeholder. I have not sent it.
curl -X POST \
https://{shop}.myshopify.com/api/2026-10/graphql.json \
-H 'Content-Type: application/json' \
-d '{"query":"{ products(first: 3) { edges { node { id title } } } }"}'
WooCommerce draws a different line. The Store API is a public API for the shopper in front of you: product lists, the cart, shipping rates, and turning that cart into an order. It does not require API keys. It cannot look up another customer's order by id, and it cannot write store settings. Responses are JSON. Customer sessions are cookie-based. Write calls that change the current customer, such as an address update, need a nonce. For a frontend on another host, the cart-token page says a successful cart response includes a Cart-Token header, later requests send that header back, and a nonce is not required when the token is present. The authenticated REST API, currently v3 under /wp-json/wc/v3, is the admin-side API: create, read, update, and delete products, orders, and the rest of the store data. Call that from a server.
A documented Store API read is a GET to /wp-json/wc/store/v1/products. The docs say the only Store API version right now is v1. I have not requested it.
A Laravel backend is the third case. Laravel is the framework, not a hosted cart. The product, cart, and order endpoints are part of the application you build and run. How I version and authenticate a Laravel API is in REST API development with Laravel. The person who can hold both the Next.js screens and that API is the job in what a full stack developer does.
Shopify also names the ways to build, and they are not all a full custom frontend. Hydrogen is its headless toolkit. The 2026-10 Hydrogen docs say it works with frameworks that run server code, including Next.js, and that the framework keeps routing, rendering, and UI. You can skip the toolkit and call the Storefront API and the Customer Account API yourself. Storefront Web Components and Buy Button JS cover a smaller case: products on a site you already have. The Headless sales channel is how you get tokens when you host the storefront yourself. The Hydrogen channel is for Hydrogen storefronts deployed to Oxygen, Shopify's hosting for those storefronts.
Headless commerce architecture
Read Figure 1 from the shopper inward.
- The browser requests a URL on the frontend you host.
- That frontend asks the commerce API for the product or collection on that URL. The useful version of this step puts the product HTML in the response, rather than an empty shell that waits for a second request in the browser.
- The cart is a call to the same API. On Shopify that is the Storefront API cart, then a handoff to Shopify checkout. Hydrogen's request handlers answer
/checkoutand cart permalinks, and pass every other request to your router. On WooCommerce the cart and checkout routes are under/wc/store/v1. On Laravel they are the routes you shipped. - Payment still follows the gateway. A new frontend does not change signed webhooks, idempotency, or which system is allowed to see card numbers. The list I use before a live card is the payment gateway integration checklist.
- Other systems, a CMS, a CRM, or an ERP, can attach to either side. Shopify's overview says that. Each attachment is its own project.
Two deploys replace one. The theme used to ship with the store. The frontend now has its own repository, its own host, and its own failure mode. The commerce backend still needs upgrades. Someone has to own both sides, including the day a private token has to be rotated. In the Headless channel, Shopify's overview says generating a new token leaves the old one valid until you revoke it, so you can update the server first.
Shopify also asks the storefront to support the standard product path /products/:handle, with a server-side redirect if your URLs differ, and to support cart permalinks. Hydrogen's handlers cover those permalinks. A from-scratch frontend has to implement them, or old links and installed apps miss the cart.
Hydrogen's own split is worth copying even when you do not use the toolkit. The framework owns rendering. The commerce system owns catalog, cart, and checkout. The 2026-10 docs say Hydrogen does not include checkout UI, because checkout stays on Shopify, and that it does not include an Admin API client. They also leave meta tags, Open Graph tags, and structured data to your app. A headless Shopify store still needs those written in the framework, on purpose.
When a headless ecommerce platform is worth it
Shopify's overview states the bar directly. Consider headless when the business systems, the processes, or the customer experience cannot be done with Shopify's sales channels, themes, and apps. The examples on that page are:
- a storefront experience that existing web or mobile tools cannot support, or cannot support easily
- a web frontend stack that does not use Liquid
- Shopify commerce added to infrastructure you already run
- several sales channels that Shopify does not support out of the box
- a CMS, or a plan to use one, for content that is mixed into the storefront
The same page says a headless storefront costs more to build and run than a theme. The merchant has to accept the added cost and complexity, and has to have developers who maintain the storefront after launch. Shopify does not publish a figure on that page. This page does not add one. The cost that matters in the decision is a second application and the people who keep it running.
Four cases clear that bar for me.
More than one frontend on one catalog
A website plus a mobile app, a second brand, a kiosk, or a buy button on a site you already run. Shopify's overview lists a website, a mobile app, a game, a livestream, a smart device, or a buy button as places you can sell. One catalog API feeds each screen. A single marketing site fails this test. That site can be a theme.
The buying experience is the thing you sell
A configurator, a guided quote, a catalog that does not fit a product template. The test is whether you can name the screen a theme and the current apps cannot produce. "We want it to feel modern" is not that screen. If a theme already does the job, a custom frontend rebuilds a solved problem.
The frontend stack is already decided
You already have a Next.js site, a design system, and a team that ships it. Shopify's list includes a stack that does not use Liquid, and commerce added to infrastructure you already have. Headless is how that site sells, without moving the company onto a theme. The inverse is a team that lives in the WordPress admin and wants to keep editing there. WooCommerce can still be the backend. The new frontend then has to read the content those editors publish, or the editors have lost the tool they were hired to use.
Someone on your side will maintain it
Shopify's condition is developers after launch, not only for the build. A full stack developer can hold the frontend and the API when the scope fits one person. A company with nobody to ship a frontend change six months later has a storefront it cannot safely edit. Hire for that maintenance before you hire for the launch. The questions I would want an owner to ask any company, including me, are in how to choose an ecommerce development company.
Performance, only with a measurement and an owner
A custom frontend is a place where you choose what HTML arrives first and which assets load. That work is the Core Web Vitals guide and page speed and SEO. It is a workload, not a speed promise. A client-rendered catalog can be slower than the theme it replaced. I would use performance as a reason only when the current theme or plugin stack cannot hit a target you have already measured, and someone will keep measuring after launch. I am not publishing a benchmark.
When headless ecommerce is overkill
A small catalog and one website
A modest catalog, one site, and orders that a standard checkout already handles should stay in one application. Shopify's theme, or WooCommerce on WordPress, is that smaller system: one deploy, one admin, one place that renders the page. The platform comparison is how I choose among those. Headless adds a second system before the first one has a problem it cannot solve.
The business is the plugins
Many WooCommerce stores depend on subscriptions, bookings, composite products, or extra checkout fields. Those features often arrive as plugins that render inside the theme. The Store API can be extended. Its docs describe that extension as more limiting than traditional WordPress filters, so a third-party plugin is less able to break routes other apps rely on. A plugin that only prints HTML in the theme does not appear in a Next.js page unless its data is on an endpoint the frontend calls. If you cannot list those plugins and a path for each one, stay in the theme. I have not audited a plugin set for this article.
Nobody owns the second deploy
Two codebases, two hosts, an API version to pin, and a token to rotate. The rotation steps in Shopify's Headless channel are real work: generate the new token, update the server, then revoke the old one. If the maintenance plan is "we will find a developer when it breaks," this architecture is overkill.
The frontend is an empty shell
This is the SEO failure mode, and it is avoidable. Google's JavaScript SEO basics describe three phases: crawling, rendering, then indexing. Googlebot can run JavaScript. A page whose first HTML is an empty shell still waits on the rendering queue. Google says that wait can be a few seconds, and that it can take longer. The same page says server-side or pre-rendering remains a good idea, because it is faster for users and crawlers, and because not all bots run JavaScript. The dynamic-rendering note says that serving a different HTML document to bots was a workaround. Google recommends server-side rendering, static rendering, or hydration instead.
For every product and category URL that should be indexed, I want this in the first HTML response:
- the product name, the price, and the availability a shopper sees
- a normal HTML link to other products and categories
- a unique title and a canonical
- no dependence on a cookie, local storage, or a session before that content appears. Google's JavaScript troubleshooting guide says cookies and web storage are cleared between page loads
- a real path, not a fragment such as
/#/product. Google says not to load different content from a fragment
Filters and sort orders still multiply URLs. Moving the frontend to Next.js does not retire that problem. Faceted navigation, canonicals, and product structured data are covered in technical SEO for ecommerce. Hydrogen will not write those tags for you. The 2026-10 docs leave SEO metadata to the framework.
Checkout rebuilt for its own sake
On Shopify, the Storefront API hands the customer to checkout, and Hydrogen leaves the checkout UI on Shopify. The Storefront API reference also says you cannot use that API to duplicate existing Shopify functionality, and it points you at the API terms before you start. Rebuilding Shopify checkout is the duplication those terms warn about.
On WooCommerce, the Store API can collect an address and place the order. Payment is still a gateway integration: hosted or embedded checkout, a verified webhook, and a single record of the payment. That list is the payment gateway integration checklist. A headless frontend does not shorten it.

Figure 2. Four answers, in order. A blank answer means keep the theme. Headless starts when all four are written down.
A decision checklist
Walk these in order. A blank line means stay with the theme, or fill that line before anyone writes a frontend.
- Name the shopper-facing job a theme, the current apps, or the current plugins cannot do. If the answer is an adjective, such as faster or modern, rather than a screen or a second channel, stop.
- Count the frontends that must share this catalog. One website is a theme. A website plus an app, or a site you already operate, can justify the split.
- Name the person or company who will change the frontend after launch. Shopify's condition is developers who maintain it, and a written acceptance of the extra complexity.
- Write where checkout lives. Shopify checkout stays on Shopify. WooCommerce checkout through the Store API still needs the payment gateway work. A Laravel checkout is code you own and keep.
- List every plugin or app the store cannot sell without, and the API or extension each one has. A blank cell is a reason to stay.
- Require server-rendered HTML for product and category URLs, with the URL rules in the ecommerce technical SEO guide, and a plan for filter URLs.
- Keep private tokens on the server. Shopify's private Storefront API token does not belong in browser code. WooCommerce REST API credentials do not belong there either. The public Store API, and a cart token for the current shopper, are the browser-facing pair.
- When every line has an owner, the next step is a scoped build. Ecommerce development is where I do that work. The buying questions to ask any company are in how to choose an ecommerce development company.
What I would leave alone
I would leave a working theme in place when the catalog is small, the team is small, and the plugins are the product. I would leave Shopify checkout on Shopify. I would leave a ranking promise out of the proposal. Headless changes who renders the page. Rankings still depend on the HTML, the URLs, and the page experience, and I am not publishing a measurement from a store.
The platform decision comes first. Headless is a rendering decision on top of Shopify or WooCommerce, or the shape of a Laravel shop you were going to build as an API anyway. WooCommerce, Laravel, or Shopify is that earlier choice. This page is whether to split the frontend once the engine is chosen.
