Starhead Digital

Headless commerce

Headless Shopify development with Hydrogen and the Storefront API

Headless Shopify development gives you a custom front end while Shopify keeps running products, orders and checkout. We tell you plainly whether headless fits, then build fast storefronts on Hydrogen or Next.js.

Brands we have built for

FellerOcean State of MindPrince + BroomeSupa SuppsBeholderBodaLove by LilyLuna & WillowMovereRawwBahiaSalus SaunasMi AmorKartelRitzyWear This Not That

What headless commerce on Shopify means

Headless Shopify development separates the shop window from the engine room. In a standard store, Shopify renders every page through a Liquid theme. In a headless setup, your storefront is its own application. It requests products, collections and carts from Shopify through the Storefront API and renders pages in whatever way suits your brand, while Shopify keeps handling the admin, inventory, payments and checkout.

That split brings real freedom: editorial content from a headless CMS mixed freely with products, shopping flows a theme cannot express, one codebase serving several brands or channels, and engineering on React rather than Liquid. It also hands you more to own. Hosting, monitoring, framework updates and the features a theme gives you for free all become someone’s job.

So our work starts with that trade-off, in writing. When headless is the right call, we plan and build it properly. When a well-made Online Store 2.0 theme would serve you better, we say so and explain why, because a headless store that nobody can run is worse than a theme that works.

  • Full control over design, routing, rendering and caching
  • Content from Shopify metaobjects, Sanity or Contentful
  • Shopify checkout kept in place for payments, taxes and trust
  • A clear, written view of the cost of ownership before you commit
  • SEO, analytics and redirects planned from the first week

If you are on Shopify Plus and weighing options, we can compare headless with checkout extensibility and a custom theme side by side.

When headless is the right call

Headless solves specific problems. If yours are not on this list, a custom theme is usually simpler and cheaper to run.

  • Content-led brands

    Recipes, guides, lookbooks or long-form stories that editors manage in a dedicated CMS and weave between products. The page structure follows the story, not the template.

  • Unusual shopping journeys

    Configurators, quizzes, build-your-own bundles and multi-step flows that would strain a theme. In a React front end these become ordinary application state.

  • Several front ends, one catalog

    A website, a native app, in-store screens or partner sites drawing from the same Shopify products and prices. Each channel reads the same source of truth.

  • React engineering teams

    In-house developers who already work in React and TypeScript and want shared components, code review and automated tests rather than editing Liquid files.

  • Composable stacks

    Brands already paying for separate search, CMS, personalization or loyalty platforms, who want them combined in one front end with Shopify as the commerce layer.

  • Fine control over rendering

    High-traffic storefronts that need to decide, route by route, what is cached, what is streamed and what loads only after interaction.

  • Multi-brand groups

    Companies running several brands that want one component library and design system, themed per brand, instead of several unrelated theme codebases.

When to stay with a theme

We would rather talk you out of headless than build something you will struggle to keep running.

  • No technical owner

    Without a developer to own releases, a headless store depends on an outside partner for every small change. A theme lets marketing move on its own.

  • App-heavy setup

    If your store relies on many apps that inject features into the theme, each one needs an API-based replacement in headless. That adds cost and risk fast.

  • Standard catalog and pages

    A typical product range with ordinary content pages is well served by a custom Online Store 2.0 theme with sections, blocks and metafields.

  • Tight budget or deadline

    Headless takes longer to build and costs more to run. If you need to start trading soon, a theme gets you there with fewer moving parts.

  • Speed is the only goal

    A lean, carefully built Liquid theme can be very fast. Headless is not required for good Core Web Vitals, and a slow headless build is entirely possible.

  • Editors want drag and drop

    Teams used to rearranging sections in the Shopify theme editor will lose that unless the CMS is set up to offer something comparable, which takes planning.

A buyer’s guide to headless Shopify

The questions worth answering before you sign off a headless project, in plain language.

How a headless Shopify store fits together

In a theme store, Shopify receives each request, runs your Liquid templates and returns finished HTML. In a headless store, that job moves to an application you control. When a shopper opens a product page, your front end asks the Storefront API for the product, its variants, prices, media and whichever metafields the page needs, then renders the page itself. The Storefront API is a GraphQL API, so every query names the exact fields a page uses. Done well, that keeps responses small and pages quick.

The cart still lives in Shopify. Your front end creates and updates it through Storefront API cart mutations, and when the shopper is ready to pay it sends them to the cart’s checkout URL. From there they are on Shopify’s own checkout, with the same payment methods, tax handling, shipping rates and discount logic as any other Shopify store. Orders arrive in your admin as usual, so fulfillment, ERP syncs and email flows keep running from Shopify data.

  • Storefront API for catalog, search, filters, cart and localized prices
  • Shopify checkout for payment, with your discounts and Functions intact
  • Customer Account API for login, order history and saved addresses
  • Admin API and webhooks for back-office jobs that never belong in the storefront

Hydrogen and Oxygen, or Next.js

Hydrogen is Shopify’s own framework for headless storefronts. It is built on React and comes with ready-made pieces for problems every store has: cart handling, SEO metadata, caching of Storefront API responses and sending storefront events to Shopify analytics. Oxygen is Shopify’s hosting for Hydrogen storefronts. Connected to a GitHub repository, it can create a preview deployment for each change, so reviewers click through real pages before anything goes live. Choosing Hydrogen keeps you close to Shopify’s tooling and documentation.

Next.js is the other common route, often hosted on Vercel. It makes sense when your developers already use it, when the site has large sections that are not commerce at all, or when one framework should serve several properties. It reads the same Storefront API. What you give up is the Shopify-specific tooling, so cart, analytics and caching helpers have to be written or sourced separately. We recommend one or the other based on your team and content, and we put the reasons in writing.

Where your content should live

Headless lets you choose where content is edited, and the choice shapes your team’s week. Shopify metaobjects and metafields keep structured content inside the admin you already use, with no extra subscription, and both are readable through the Storefront API. They suit product-adjacent content such as ingredient lists, size guides, store locations or designer profiles.

A headless CMS such as Sanity or Contentful suits editorial teams who need rich editing, scheduled publishing, approval steps and live previews of unpublished pages. Many brands use both: product facts in Shopify, stories and campaigns in the CMS, joined by product references. Whichever you pick, we design the content models before building pages. A common mistake is storing whole pages as one block of rich text, which locks the layout and makes every redesign a content migration.

SEO, analytics and consent need rebuilding

A theme quietly handles a lot: canonical tags, a sitemap, title tags from your Shopify SEO fields, product structured data in most themes, analytics and a consent banner tied to Shopify’s Customer Privacy API. In a headless build each of these has to be built on purpose, or it simply will not exist.

We server render every indexable page so search engines receive complete HTML, generate titles and descriptions from the SEO fields your team already edits, output product and organization structured data, publish XML sitemaps and map every old URL to its new home with permanent redirects. For measurement, we wire GA4, ad pixels and Shopify analytics to the same events, respect consent before anything fires, and test the full path from page view to purchase before launch rather than after the first monthly report looks wrong.

The real cost of owning a headless store

The build is only part of the bill. A headless storefront needs framework and dependency updates, hosting, error monitoring and someone who can ship a fix on a Friday. Shopify releases new versions of its APIs on a regular quarterly cycle and retires old ones on a published schedule, so queries need checking and upgrading over time. Apps that were plug-and-play in a theme often become API integrations with their own maintenance. A CMS may carry its own subscription.

None of this is a reason to avoid headless. It is a reason to budget for a technical owner, either your own developers or a support plan with us, and to agree who owns what before launch. When the answer to who maintains this is unclear, we usually recommend a custom theme instead.

Theme, custom theme or headless storefront

Three valid ways to build on Shopify. This is the comparison we walk clients through before recommending one.

Customized themeCustom theme buildHeadless storefront
Front-end freedomWithin the theme’s sections and settingsAny layout Liquid and Online Store 2.0 allowAny layout, interaction or content source
HostingShopifyShopifyOxygen, Vercel or another host you manage
App compatibilityMost apps install through app blocksMost apps install through app blocksApps need API or SDK integration, or a replacement
Content editingShopify theme editorShopify theme editor with custom sectionsHeadless CMS or metaobjects, set up per project
CheckoutShopify checkoutShopify checkoutShopify checkout, reached through the cart’s checkout URL
Time to launchShortestModerateLongest, since more is built from scratch
Ongoing ownershipLow, mostly content and appsModerate, theme code and appsHighest: framework, hosting, integrations and API versions
Best forNew or simple storesMost growing brandsContent-led, multi-channel or highly custom journeys

All three use the same Shopify admin, catalog and checkout. The difference is how the storefront is built and who maintains it.

Our headless Shopify development services

We plan, build, connect and look after the parts that make a headless store work in production, not only on launch day.

  • Headless fit assessment

    A short review of your goals, team, apps and budget that ends in a written recommendation: headless, custom theme or a hybrid. You keep the document whichever way you go.

  • Shopify Hydrogen development

    Storefronts built on Hydrogen with its cart, SEO and analytics utilities, structured so your developers can extend them. A natural fit when you want to stay close to Shopify’s stack.

  • Oxygen deployment

    Hydrogen storefronts hosted on Oxygen, linked to your Git repository, with preview deployments for each change and separate environments for staging and production.

  • Next.js storefronts

    For teams already on Next.js or Vercel, we build on the Storefront API with server rendering and caching rules tuned to how often your catalog and prices change.

  • Storefront API integration

    GraphQL queries designed per page so each route fetches only what it renders. Fragments are shared across components to keep the data layer consistent and easy to change.

  • Cart and checkout handoff

    Cart creation, line updates and discount codes through the Storefront API, then a clean handoff to Shopify checkout. Logic built with Shopify Functions keeps running there.

  • Customer accounts

    Login, order history and addresses through the Customer Account API, with Shopify handling authentication so your front end never stores customer passwords.

  • Headless CMS and content models

    Content types in Sanity, Contentful or Shopify metaobjects, with product references and live previews, designed with the people who will edit them every week.

  • Search, filters and merchandising

    Collection filters and predictive search through the Storefront API, or a dedicated search platform when the catalog needs it. Sorting and merchandising stay in your team’s hands.

  • International storefronts

    Shopify Markets context passed with each query, so shoppers see the right currency, prices and language. Routing and hreflang tags are planned per market.

  • App replacement and integrations

    Reviews, subscriptions, loyalty and email reconnected through their APIs or SDKs, for example a reviews platform such as Judge.me or an email platform such as Klaviyo.

  • Theme-to-headless migration

    A move from an existing theme with URL mapping, redirects and, where it lowers risk, a phased rollout that switches page types over one group at a time.

Tools and APIs in a typical headless build

The options we choose from. Each project uses a subset, picked during architecture and written into the plan.

Frameworks

  • Hydrogen (React)
  • Next.js
  • TypeScript
  • Tailwind CSS or CSS modules
  • A shared component library

Shopify APIs

  • Storefront API (GraphQL)
  • Customer Account API
  • Admin API for back-office tasks
  • Webhooks for order and inventory events
  • Shopify Functions for checkout logic

Content

  • Shopify metaobjects and metafields
  • Sanity
  • Contentful
  • Live preview for draft content
  • Product references inside editorial pages

Hosting and delivery

  • Oxygen for Hydrogen storefronts
  • Vercel or Netlify for Next.js
  • Preview deployments per change
  • Shopify CDN for product images
  • Caching rules per route

Search and discovery

  • Storefront API search and predictive search
  • Collection filters set up in Search & Discovery
  • Dedicated search platforms for large catalogs
  • Merchandising rules your team controls

Quality and monitoring

  • Automated end-to-end tests of cart and checkout handoff
  • Lighthouse and field data from real visitors
  • Error monitoring with alerts
  • Uptime checks
  • Code review on every pull request

How we plan and build a headless storefront

Headless projects reward careful planning. Most of the risk is removed in the first two steps, before a line of storefront code is written.

  1. 01Fit check

    Decide whether headless is worth it

    We look at your goals, team, apps, content and budget and compare headless against a theme approach. You get a written recommendation with the reasoning either way.

  2. 02Architecture

    Choose the stack and owners

    We pick the framework, hosting, CMS and integrations, and list every current app with its headless replacement or API route. Running costs and ownership are spelled out.

  3. 03Experience

    Design routes and content models

    We plan page types, URL structure and content models, then design key screens. SEO, analytics and redirect requirements are fixed here rather than discovered at the end.

  4. 04Build

    Develop in short cycles

    We build in sprints with preview deployments you can click through. Cart, checkout handoff and customer login are proven in the first sprints, because everything depends on them.

  5. 05Launch checks

    Test speed, SEO and orders

    We test performance, crawlability, structured data, redirects, tracking and real orders on real devices. Traffic switches over only after every check has a sign-off.

  6. 06Operate

    Monitor and improve

    After launch we watch errors and performance, upgrade API versions and dependencies, and keep improving. A support plan can cover this each month.

Headless pitfalls and how we avoid them

Most headless projects that disappoint fail in predictable ways. These are the ones we design out from the start.

  • Rendering only in the browser

    Pages that build themselves with client-side JavaScript load slowly and can index poorly. We server render every page that should rank.

  • Forgetting old URLs

    A new front end often changes paths. Every existing product, collection and blog URL gets a mapped permanent redirect before launch.

  • Assuming apps carry over

    Theme app blocks do not appear on a headless front end. We audit each app early and agree its replacement before design begins.

  • Over-fetching data

    Pulling whole products for a grid of thumbnails wastes time on every visit. Queries are written per component and reviewed for size.

  • Editors without previews

    If staff cannot see a draft before it goes live, they stop trusting the CMS. Live preview is part of the content setup, not an extra.

  • Tracking left to the end

    Analytics bolted on after launch usually double counts or misses purchases. We test events from first view to order confirmation.

  • Ignoring market context

    Without country and language context on each query, international shoppers can see the wrong currency. Markets are handled in the data layer.

  • Nobody owns it after launch

    Dependencies age and API versions retire. We agree the post-launch owner and the update routine before the store goes live.

Projects that show it

Neither of these is a headless build. They show the integration, structure and performance work a headless project depends on.

Kartel Watches Shopify store

Shopify Redesign

Kartel Watches

  • UX/UI Design
  • Theme Development
  • Performance Enhancement
  • Shopify Search & Discovery
  • Judge.me Product Reviews App
The problem
Kartel Watches faced limitations with their existing e-commerce platform. Looking for a fresh Shopify store design and a solution to support faster growth, they partnered with us for a complete redesign and rebuild.
What we built
We structured the site with clear and engaging navigation, segmenting it into Watches, Experiences, Accessories, Gift Cards, and About. This intuitive layout made it easy for customers to discover both products and experiential…
The result
The new Shopify Plus storefront for Kartel Watches elevated both the brand’s digital presence and customer experience. The immersive homepage and intuitive navigation encouraged deeper exploration across products and experiences…
Wear This Not That Shopify store

Shopify Development

Wear This Not That

  • UX/UI Design
  • Theme Development
  • Performance Enhancement
  • Store Optimization
  • Shopify Search & Discovery
The problem
Despite turning heads in the fashion world, Wear This Not That faced challenges with their e-commerce presence. Their online store was visually outdated, lacked a properly organized inventory, and failed to fully capture the…
What we built
We partnered with Wear This Not That to create a bespoke Shopify store that emphasized storytelling, sustainability, and ease of navigation. Their product catalog was restructured into clear, shoppable categories, supported by an…
The result
The redesigned Shopify store positioned Wear This Not That as a digitally forward fashion brand with a seamless and visually compelling customer experience. Clear navigation and improved search functionality enabled customers to…

Ways to start a headless project

Pick the starting point that matches where you are. Each one can lead into the next.

  • Architecture review

    A fixed piece of work that ends in a stack recommendation, an app replacement list and an ownership plan. Useful before budgeting or choosing a build partner.

  • Full headless build

    Design, development, content setup, integrations and launch by one team, with your stakeholders reviewing preview deployments every sprint.

  • Phased migration

    Move from your theme in stages, starting with the page types that gain most, while the rest of the store keeps running as it is.

  • Team extension

    Our developers join your engineers on an existing Hydrogen or Next.js storefront, following your code standards and review process.

Testimonials

What brands say about building with us

5.0from 8 client reviews

  • From creation of my site to working with them after for updates and changes to my site. The team goes above and beyond. Their communication, service and attention to detail is very good. They are wonderful to work with and very helpful with questions. I have found a team who believes in growth, creativity and good work ethic. Appreciate Starhead for always supporting our team!

    Alisha

    Ritzy

  • We are so happy with Starhead. They did an exceptional job at helping us create a new website with our new branding. We especially appreciate the good communication, the attention to details, the understanding and proactiveness. I am so happy we chose Starhead to help us, and 10/10 recommend them. We will continue to work with them in the future. Thank you so much for your work!

    Solveige Itervag

    Movere

  • ABSOLUTELY BEYOND AMAAZZING I HIGHLY HIGHLY RECOMMEND Prashant and Gaurav were super professional and kind. Their #1 goal is deliver everything you as the customer envision. Super detailed, very responsive, cares about the client Starhead Digital made every thing come true that i dream about having for my website I Definitely will be using Starhead Digital in future projects

    Julia

    Ocean State of Mind

  • It was a pleasure to work with Starhead Digital. They delivered the website extremely quick while also exceeding expectations of what we wanted. They ensured we were satisfied and were very communicative throughout the whole process. I will definitely be working with them again for any other projects, or even a website refresh. If you are looking for amazing quality work at a very reasonable price, I completely recommend!

    Chris

    Supa Supps

  • Very professional and focussed on exactly meeting my expectations. Any specifications I gave them they fully fulfilled or had an answer. I got quick replies to my questions at any time of the day and their communication in English is probably better than mine ';).
    Fully satisfied!

    Felix Brosi

    The Perfect Biquini(Bossa)

  • Working with Starheadtech was an absolute pleasure! They built and optimized our Shopify store beautifully — seamlessly integrating Google, TikTok, and Klaviyo. Their clear communication, problem-solving mindset, and clean custom coding truly stood out. Fast, professional, and genuinely results-driven. We're thrilled with our new site and can't recommend him enough!

    Jessica

    Love by Lilly

  • The team at Starhead digital was amazing to work with. They captured all the details I needed for an operational website. They were quick, understood the task, and even went above and beyond of the requirements. Thanks Prashant & team, would love to work with them again and recommend them to others.

    Sebastian

    Ina Malibu

  • Starhead Digital successfully helped us to migrate from Magento to Shopify. It was a great experience to work with them. The whole process was very much organize and smooth. The team was highly responsive, and internal stakeholders were particularly impressed with the Starhead Digital.

    Amy

    Salus Saunas

Common FAQs

Frequently asked questions

  • What is headless Shopify development?

    Headless Shopify development means building your storefront as a separate application that talks to Shopify through its APIs, instead of using a Liquid theme. Shopify still manages products, inventory, orders and checkout, while the front end is fully custom.

  • Is headless Shopify right for every store?

    No. Headless adds hosting, maintenance and integration work, and many apps need extra effort to connect. It suits brands with complex content, custom shopping journeys or several front ends. For most stores, a well-built custom theme is the better choice.

  • What is Shopify Hydrogen?

    Hydrogen is Shopify’s React-based framework for building headless storefronts. It includes components and utilities for carts, SEO, caching and analytics, and it is designed to deploy on Oxygen, Shopify’s hosting for Hydrogen storefronts.

  • What is Shopify Oxygen?

    Oxygen is Shopify’s hosting platform for Hydrogen storefronts. It deploys your storefront from a connected Git repository and can create preview deployments for changes, so you do not need a separate hosting provider for a Hydrogen build.

  • Should we choose Hydrogen or Next.js?

    Choose Hydrogen if you want to stay close to Shopify’s own tooling and the site is mainly a store. Choose Next.js if your team already uses it or the site has large non-commerce sections. Both use the same Storefront API, and we recommend based on your team and content.

  • Does a headless store still use Shopify checkout?

    In most builds it does. The cart is created through the Storefront API and the shopper is sent to Shopify’s checkout, so payments, taxes, shipping rates and discounts behave as they do on any Shopify store.

  • Do I need Shopify Plus for a headless store?

    Not necessarily. Headless storefronts do not require Shopify Plus. Plus becomes relevant when you also need features such as checkout UI extensions, B2B or expansion stores, and we check which plan your requirements need during the architecture step.

  • Will headless help or hurt my SEO?

    It can do either, depending on the build. Pages must be server rendered with correct metadata, structured data, sitemaps and redirects from old URLs. We plan these from the start so search engines can crawl the new store properly.

  • Do my existing Shopify apps work with a headless storefront?

    Apps that only add features to a Liquid theme usually do not appear on a headless front end. Apps that work in the admin, or that offer an API or SDK, can be connected. We review every app during planning and suggest replacements where needed.

  • Can we move from a theme to headless without losing traffic?

    Yes, if the migration is planned. We map every existing URL to its new path, keep titles and structured data, test crawlability before launch and can roll out page types in phases to lower risk.

  • How long does a headless Shopify build take?

    It depends on the number of page types, the CMS and the integrations that need replacing. Headless builds generally take longer than theme projects because more of the stack is built from scratch. We share a sprint-by-sprint timeline after the architecture step.

  • How much does headless Shopify development cost?

    It depends on page types, integrations and the CMS involved, plus ongoing hosting and maintenance. Headless typically costs more to build and run than a theme. We quote once the architecture is agreed, so the estimate reflects your real stack.

Get started

Get a straight answer on headless

Tell us what you want your storefront to do. We will tell you whether headless is worth it, what it would take and who should own it after launch.

Let’s talk