Selling B2B on a Headless Shopify Store: A Practical Guide

Wholesale buyers expect more from an online store than a discount code and a contact form. They want their own prices, their own catalog, payment terms, and a fast way to reorder. As those expectations grow, more B2B brands ask whether a standard Shopify theme is still the right container for the experience, or whether it’s time to go headless. (If you’re starting from scratch, an AI Shopify store builder can help you create a Shopify store in minutes)

Headless gives you a custom front end backed by Shopify’s commerce engine. It also brings real costs and a few surprises on the B2B side, because wholesale carries requirements a custom build doesn’t get automatically.

This guide covers what selling B2B on a headless Shopify store actually involves: how company pricing reaches a custom storefront, which ordering workflows you need to plan for, what the architecture costs to run, and how to decide whether headless fits your business. You’ll also see how to keep your wholesale operations and your marketing team moving after the switch.

What Does Selling B2B on a Headless Shopify Store Mean?

Selling B2B on a headless Shopify store means Shopify runs the commerce engine (products, pricing, orders, checkout) on the back end while a separate custom front end delivers the wholesale buying experience through Shopify’s APIs. In a traditional Shopify setup, the storefront and commerce logic are bundled into one theme.

A headless architecture separates them. Your development team builds the front end with a modern framework, and Shopify’s Storefront API handles everything else.

For B2B merchants, the practical result is a wholesale buying portal that looks and works exactly how you design it. Your retail customers see your public storefront. Verified wholesale buyers log in to a gated experience with their own pricing, catalogs, and ordering workflows.

Headless commerce has become common in enterprise ecommerce. In WP Engine’s 2024 State of Headless survey of 1,015 enterprise IT leaders (US/UK/AU), 73% of respondents said they now use headless architecture. And 80% said it keeps their organization ahead of competitors.

Why B2B Merchants Consider Going Headless

Wholesale buying has gone digital. Per McKinsey’s 2024 B2B Pulse Survey, 71% of B2B respondents offer some form of e-commerce and online sales account for 34% of revenue. E-commerce has overtaken in-person as the top revenue-generating channel among organizations that offer it.

These buyers transact large orders online. Digital Commerce 360, reporting the same survey, found that 39% of B2B buyers are willing to spend big online (over $500,000 per order), up from 28% two years earlier.

That shift is driving B2B merchants to look beyond a standard Shopify theme. Wholesale buyers expect branded portals, customer-specific pricing, quick reorder tools, and a checkout that handles net terms or large quantities.

A headless build gives you complete control over that experience. Shopify manages inventory, pricing logic, checkout, and order management. Your custom front end shapes how buyers browse the catalog, request quotes, and place orders.

Headless commerce

How B2B Works Under the Hood on a Headless Shopify Store

Going headless does not mean rebuilding your commerce infrastructure. Shopify still powers pricing, catalogs, company accounts, checkout, and order management. The headless front end reads that data through Shopify’s APIs and displays it to buyers.

Understanding how B2B context flows from Shopify to a custom storefront is the key to making this architecture work. The sections below explain the mechanics.

Companies, Catalogs, and Customer-Specific Pricing

Shopify’s native B2B features organize wholesale buyers into companies with one or more locations. Each location can be assigned a catalog containing products, customer-specific prices, volume and tiered pricing rules, and quantity minimums. When a buyer from that company logs in, Shopify knows which catalog applies.

This structure is what your headless front end must display accurately. A buyer at Company A should see different prices than a buyer at Company B.

Showing the wrong catalog breaks trust and margins. The front end queries Shopify’s API, passes the buyer’s context, and renders the prices they have been assigned.

Buyer Identity and Contextualized Queries

For the API to return the correct B2B prices, the front end must identify the logged-in buyer to Shopify. According to Shopify’s headless B2B documentation, a companyLocationId and a Customer Accounts access_token are the two components needed to contextualize Storefront API queries for B2B. These components also set a buyer identity on the cart.

Here is the sequence in plain terms:

  • The buyer logs into your custom front end using Shopify’s Customer Account API.
  • Your front end receives an access token tied to that buyer.
  • Your front end retrieves the buyer’s companyLocationId (the specific location within their company).
  • Every product, price, and cart query you send to Shopify includes these two pieces of context.

Without that context, the API returns default retail pricing. With it, Shopify serves the catalog and prices assigned to that company location.

One detail is easy to miss and expensive to get wrong: responses carrying buyer context are specific to that buyer, so any route returning them has to skip caching. Cache a contextualized price page and one customer can be served another customer’s pricing.

Ordering Workflows: Quotes, Net Terms, and Reorders

Wholesale ordering goes beyond add-to-cart. Your B2B buyers may need request for quote workflows to negotiate pricing before placing an order. They may buy on net-30 or net-60 payment terms instead of paying at checkout.

They often reorder the same SKUs in bulk using quick-order forms or CSV uploads.

A headless front end must support these flows. If your themed storefront already handles quotes, net terms, saved carts, reorders, and bulk ordering through an app, those workflows need a path into your custom build. Otherwise, you are replacing your wholesale operations alongside your storefront.

Benefits of a Headless B2B Storefront

A headless architecture offers real advantages for B2B merchants who have the resources to build and maintain it:

  • Key point: You get complete control over the buyer experience. Design every screen, interaction, checkout step, and account dashboard for wholesale buyers.
  • Key point: Shopify’s Storefront API has no fixed rate limit for real buyer requests. It scales to support surges in buyer traffic or the largest flash sale.
  • Key point: Connect your storefront to any ERP, CRM, PIM, or third-party tool using APIs. Build data flows that match your operations.
  • Key point: Use the same commerce back end to power your website, mobile app, in-store kiosk, partner portals, or sales-rep tools.

These benefits matter most for larger B2B operations or brands with complex buyer journeys. Smaller merchants may find that the gains do not justify the build.

The Tradeoffs: What a Headless Build Costs

Headless is not free. Before committing, understand what you are taking on:

  • Key point: A custom front end requires developers to build, test, deploy, and maintain it. Budget for initial development and ongoing updates as Shopify’s APIs evolve.
  • Key point: Many Shopify apps inject functionality into your theme. On a headless build, those apps may need custom integration or replacement.
  • Key point: Shopify handles theme updates automatically. With a headless front end, your team owns every update and security patch.
  • Key point: Routine content changes can become developer tickets. On a theme, a marketer edits a section in the Shopify editor. On a custom front end, a new landing page or a swapped banner may sit in a sprint queue unless you plan for visual editing.
  • Key point: Check whether your current B2B tools work headlessly before you start the build.

Native Shopify B2B also has limits worth knowing before you commit. See the full list of Shopify B2B limitations to understand what the platform does and does not support out of the box.

Is Headless Right for Your B2B Business?

The decision depends on your scale, technical requirements, development resources, and long-term roadmap. Below is a simple framework.

Go headless if…Stay themed if…
You need a highly custom wholesale portal that a theme cannot supportYour B2B experience works on a standard Shopify theme with an app
You have in-house developers or an agency partner for ongoing maintenanceYou lack dedicated dev resources for a custom build
You run multiple storefronts or channels from one Shopify back endYou operate a single storefront with straightforward B2B needs
Your wholesale buyers require a branded, app-like experienceYour buyers are satisfied with a functional, gated wholesale catalog

Before you decide, note that native Shopify B2B is no longer Plus-only. As of April 2, 2026, merchants on Basic, Grow, and Advanced plans can sell wholesale using native B2B on non-Plus plans. That includes up to 3 active B2B catalogs, company profiles, payment terms, volume pricing, and quantity rules at no additional cost. Unlimited catalogs and deposits remain exclusive to Plus.

For many merchants, the middle path is smarter: a themed Shopify store with native B2B or an app handling wholesale operations. You get a gated catalog, customer-specific pricing, net terms, quote workflows, and quick ordering without a full custom build. If your needs outgrow that setup, you can move to headless later.

Keeping Your Wholesale Operations When You Go Headless

If you do go headless, you do not have to rebuild B2B logic from scratch. Pricing, gated catalogs, RFQ, net terms, company accounts, sales-rep portals, and quick ordering can keep running through an app that connects to your Shopify back end.

The front end changes; the commerce layer stays intact.

The B2Bridge B2B app is Built for Shopify with no order or price-list limits and ERP/API connectivity. Whether your storefront is Liquid-based or headless, the B2B operational logic works through Shopify’s back end. Your team keeps managing customer-specific price lists, payment terms, and quote approvals in one place, and the storefront reads from it.

For merchants who run retail and wholesale together, this approach keeps your operations unified. Retail customers see standard pricing on your public site. Verified B2B buyers log in to their own gated experience with the correct catalog.

The architecture behind the storefront is a technical choice. Your wholesale workflows continue uninterrupted.

Keeping Marketing Independent on a Headless Storefront

Operations are one half of the problem. The other half is content velocity.

On a theme, your marketing team edits sections, publishes a campaign page, and swaps a hero banner without opening a ticket. Move to a custom front end and those same tasks can land in the development backlog, because every page is a component in a codebase. Teams that skip this step often ship a faster storefront and a slower marketing function.

A visual editing layer built for Hydrogen solves that. Weaverse is a visual page builder made specifically for Shopify Hydrogen storefronts. Developers build the components once, and marketers then arrange pages by drag and drop with real-time preview, publishing changes without touching the code. It connects to your existing Shopify data, works with Oxygen hosting and the Storefront API, and keeps developers in React Router and their normal Git workflow rather than a separate CMS.

For a B2B brand, the practical effect is a clean division of labor:

Your developers own the storefront architecture, the buyer-context logic, and the components that render B2B pricing.

Your marketers own campaign pages, landing pages, content, and layout updates, and ship them on their own schedule.

Your commerce team owns pricing, terms, and buyer workflows in Shopify admin.

That split is what makes headless sustainable. B2Bridge handles B2B pricing and buyer workflows behind the storefront, and Weaverse gives the team visual control over the Hydrogen front end. Fewer dependencies, faster execution, and a headless build your whole team can operate.

Frequently Asked Questions

What is headless Shopify?

Headless Shopify is a storefront architecture where the front end is separated from Shopify’s back end. Developers build the customer-facing site with a modern framework, and Shopify’s APIs power products, pricing, and checkout.

Is headless Shopify worth it for B2B?

Headless is worth it for larger or highly custom B2B stores with dedicated dev resources. Smaller merchants often get more value from native Shopify B2B or a B2B app on a themed store.

Do you need Shopify Plus to sell B2B?

No. As of April 2, 2026, merchants on Basic, Grow, and Advanced plans can sell wholesale using native Shopify B2B features, though unlimited catalogs and deposits remain Plus-exclusive.

Can you show customer-specific wholesale pricing on a headless store?

Yes. The front end passes the logged-in buyer’s company context (an access token and company location ID) to Shopify’s Storefront API, which returns the correct B2B prices for that buyer’s catalog.

Can marketing teams update a headless storefront without developers?

Yes, if you add a visual editing layer. A Hydrogen page builder such as Weaverse lets marketers build and publish pages by drag and drop while developers keep working in code, so routine content changes do not become development tickets.

Does going headless mean rebuilding your B2B workflows?

No. Pricing, gated catalogs, net terms, RFQ, and sales-rep ordering run on the Shopify back end through your B2B app. The custom front end reads that data and renders it, so the workflows carry over.

5/5 - (1 vote)
Hien Tran

As a Product Marketing Executive at B2Bridge, I focus on the Enterprise B2B Ecommerce domain. I leverage my understanding of product and user psychology to deliver customer-centric content that addresses business challenges and fuels growth.