Composable Commerce with Shopify: What It Is, How It Works, and When to Use It

Composable commerce with Shopify explained: Commerce Components, Hydrogen, MACH architecture, PBCs, and how B2B manufacturers and distributors should approach composable vs. Shopify Plus for their specific scale and requirements.

By Denis Dyli, Principal at Uncap –
Composable Commerce with Shopify: What It Is, How It Works, and When to Use It

What Is Composable Commerce?

Composable Architecture with Shopify Hydrogen

Composable commerce is a modular approach to building ecommerce platforms where each business capability, such as checkout, product catalog, search, pricing, or order management, is an independent component connected to the others via APIs. Businesses assemble these components, called Packaged Business Capabilities (PBCs), into a custom commerce stack tailored to their specific requirements, rather than relying on a single all-in-one platform.

The term was coined by Gartner, who predicted that composable architecture would become the dominant enterprise software approach as organizations required greater agility in the face of rapidly changing market conditions.

On Shopify, composable commerce is available in two distinct forms: Commerce Components by Shopify, an enterprise-grade offering for brands with $100M+ GMV, and Shopify Plus with Hydrogen, the practical composable path for mid-market manufacturers, distributors, and wholesalers who need flexibility without the complexity overhead of a full composable build.

Architecture Comparison: Composable vs. Headless vs. Monolithic

Architecture

Monolithic: Single tightly coupled system

Headless: Decoupled frontend and backend

Composable: Fully modular, each capability independent

Customization

Monolithic: Limited to platform configuration

Headless: Frontend fully custom

Composable: Every capability replaceable

Speed to Market

Monolithic: Fast for standard builds

Headless: Medium (frontend flexibility)

Composable: Slower (multi-vendor integration)

TCO

Monolithic: Predictable

Headless: Medium

Composable: High (requires engineering investment)

Best For

Monolithic: SMB, standard stores

Headless: Mid-market needing UX control

Composable: Enterprise with complex, differentiated needs

Shopify Offering

Monolithic: Shopify / Shopify Plus

Headless: Shopify Plus + Hydrogen

Composable: Commerce Components by Shopify

GMV Threshold

Monolithic: Any

Headless: $1M+

Composable: ~$100M+ recommended

The Evolution from Monolithic to Composable Commerce

Traditional commerce platforms were monolithic: one system containing the storefront, checkout, product catalog, pricing engine, order management, and content management, all tightly woven together. Vendors like Oracle, IBM, and SAP built their suites on this model. The advantage was simplicity at setup. The cost was inflexibility at scale.

When a business needed to change its checkout experience, update its pricing logic, or swap in a new search engine, it had to work within the constraints of the entire monolith. Upgrades took months. Customizations broke on the next platform update.

Headless commerce emerged as the first response: decouple the frontend (what customers see) from the backend (commerce logic). The storefront could now be built in any framework and deployed anywhere, while the backend continued to handle commerce operations. Shopify Plus has been a leading headless backend since the launch of its Storefront API.

Composable commerce is the next evolution. Instead of just decoupling the frontend, composable architecture decouples every capability. Checkout is an independent service. Search is an independent service. The pricing engine is an independent service. Each can be built by a specialist vendor, selected on merit, and replaced without touching the rest of the stack. This is the architecture that powers the world's most complex retail organizations.

What Are Packaged Business Capabilities (PBCs)?

A Packaged Business Capability (PBC) is a software component that represents a complete, self-contained business function. Examples include:

  • Product catalog and PIM (Product Information Management): manages product data, attributes, variants, and media assets
  • Search and discovery: AI-powered search, faceted filtering, and personalized recommendations
  • Cart and checkout: the transaction engine, including fraud detection, tax calculation, and payment processing
  • Pricing engine: handles customer-specific pricing, promotions, volume breaks, and contract pricing
  • Order management system (OMS): post-purchase orchestration including fulfillment routing, split shipments, and returns
  • Customer data platform (CDP): unified buyer profile across all touchpoints
  • Content management system (CMS): structured content for product pages, landing pages, and editorial

Each PBC exposes APIs so it can communicate with adjacent components. In a composable stack, you select the best-in-class vendor for each PBC, connect them via a common API layer, and the result is a platform tailored entirely to your business requirements.

The key distinction from microservices: PBCs are not tiny individual programs. A PBC like "checkout" may itself be composed of multiple microservices internally, but it presents as a single, businesslogic-complete unit to the rest of the stack.

MACH Architecture: The Foundation of Composable Commerce

Composable commerce is typically built on MACH architecture, a technical framework established by the MACH Alliance:

M - Microservices: Individual business functions are developed and deployed independently, so a change to the checkout service does not require redeploying the search service.

A - API-first: Every capability exposes its functionality through a well-documented API, enabling any component to communicate with any other regardless of vendor or technology stack.

C - Cloud-native SaaS: Components are hosted in the cloud and delivered as managed services, with the vendor responsible for uptime, security patching, and infrastructure scaling.

H - Headless: The frontend presentation layer is decoupled from all backend services, giving developers full creative and technical freedom over the buyer experience.

Shopify's full platform was designed with API-first principles from the beginning. Every Shopify capability, including the checkout, the product catalog, customer data, B2B company accounts, and pricing, is accessible via documented REST and GraphQL APIs. This makes Shopify a natural MACH-compatible commerce backend, whether you are running a Liquid-based Shopify Plus storefront, a Hydrogen-based headless frontend, or consuming Shopify APIs as components within a larger composable stack.

Commerce Components by Shopify: Enterprise Composable Architecture

For brands operating at enterprise scale (the $100M+ GMV threshold), Shopify offers Commerce Components by Shopify: a portfolio of more than 30 individual commerce capabilities that can be selected, combined, and integrated with any existing technology infrastructure.

Commerce Components does not require a Shopify storefront. Brands like Mattel, Staples, and Steve Madden use Commerce Components to power specific capabilities within their existing custom technology stacks, accessing Shopify's commerce infrastructure as a set of modular services.

The Six Categories of Commerce Components

Storefront components: Custom storefronts built with any framework, hosted anywhere. Includes Shopify's Headless APIs, Storefront SDK, Hydrogen (React-based headless framework), Oxygen (Shopify's edge hosting for Hydrogen), low-code storefront options, and AI-powered search with custom data models.

Cart and checkout components: Shopify's checkout platform as a standalone component, including Shopify Payments, checkout extensibility (customized fields, upsells, validation logic), built-in fraud detection, tax engine, and multi-currency support. Shopify's checkout converts at an average 15% higher rate than custom-built alternatives, making this one of the most valuable individual components in the catalog.

Core commerce components: Product catalog management, B2B sales (company accounts, catalogs, net terms, volume pricing), cross-border selling with Shopify Markets, discounts engine, subscription management, and customer data management.

Data and compliance components: ShopifyQL analytics and reporting, marketing attribution insights, card data vaulting for secure stored payment methods, and security and compliance infrastructure including PCI DSS Level 1 certification.

Shipping and logistics components: Fulfillment orchestration, order management with multi-location inventory routing, returns management, and Shopify Shipping carrier integrations.

Omnichannel components: Point of sale (POS) for physical retail, social commerce integrations (Shop Pay on Instagram, TikTok Shop), and live chat and support integrations.

Who Commerce Components Is Built For

Commerce Components is the right solution for an organization that:

  • Generates more than $100M in annual GMV
  • Has an existing custom technology stack it does not want to replace wholesale
  • Has a dedicated in-house engineering team capable of integrating and maintaining multi-vendor API connections
  • Needs specific Shopify capabilities (such as the checkout or B2B feature set) embedded within a non-Shopify frontend or commerce architecture

For manufacturers, distributors, or wholesalers operating below the $100M GMV threshold, or without a dedicated engineering team, Shopify Plus with Hydrogen is the practical composable path that delivers most of the same flexibility at a fraction of the complexity and cost.

Shopify Plus with Hydrogen: Composable Commerce for Mid-Market B2B

Shopify's Hydrogen is a React-based framework purpose-built for creating custom headless storefronts powered by Shopify's backend. Paired with Oxygen, Shopify's global edge hosting network, Hydrogen enables mid-market manufacturers, distributors, and wholesalers to build fully custom buyer portals and B2B storefronts without leaving the Shopify ecosystem.

What Hydrogen Enables

Custom frontend architecture: Your B2B buyer portal can be built in React with full design freedom, rendering logic, and component structure completely under your control. There is no dependency on Shopify's Liquid templating language or Dawn theme.

Access to all Shopify B2B APIs: Hydrogen storefronts can access all of Shopify Plus's native B2B capabilities via the Storefront API and Customer Account API: company accounts, customer-specific catalogs, net payment terms, volume pricing, draft orders, and vaulted payment methods.

Edge-rendered performance: Oxygen deploys Hydrogen storefronts to Shopify's edge network, which has proven to sustain 312 million requests per minute during peak commerce events like Black Friday/Cyber Monday 2025, with 99.9% platform uptime. Shopify stores render 1.8x faster on average than stores on other platforms.

Composable third-party integrations: A Hydrogen frontend can consume APIs from any third-party service: a headless CMS like Contentful or Sanity for content management, Algolia or Shopify Search for product discovery, Klaviyo for personalized marketing, and your ERP for real-time pricing and inventory.

The IDC Hybrid Architecture Finding

In a 2024 survey of more than 1,000 enterprise organizations conducted in partnership with IDC, Shopify found that 45% had adopted a hybrid composable architecture: a composable front end paired with a full-stack backend like Shopify Plus. This approach consistently outperformed both pure monolithic and pure composable architectures on time-to-market, cost-effectiveness, and customer experience quality.

For most B2B manufacturers, distributors, and wholesalers, this hybrid model represents the optimal balance: the buyer experience flexibility of a composable frontend, the operational reliability and native B2B feature set of Shopify Plus, and the clean ERP integration that connects the two.

Composable Commerce for B2B Manufacturers, Distributors, and Wholesalers

The composable architecture principles that matter most differ between B2C and B2B commerce. In B2C, the primary driver is frontend experience differentiation: personalization, content, visual design. In B2B, the primary drivers are process integration, pricing accuracy, and buyer self-service.

For a manufacturer or distributor building a composable B2B commerce stack, the critical components to get right are:

Pricing engine accuracy: B2B pricing is complex. Contract prices, volume breaks, customer-segment discounts, and ERP-driven price lists must all be served accurately, in real time, to the correct buyer account. In a Shopify Plus architecture, this is handled via the native catalog and price list system plus a purpose-built ERP integration. In a full composable stack, you may need a dedicated pricing microservice (e.g., commercetools' pricing service) with a bidirectional ERP sync.

Company account and permission model: Enterprise buyers operate within approval hierarchies. A purchasing manager may need to approve any order over $10,000. A sales rep may need to create orders on behalf of accounts. These permissions must propagate correctly through every component in the stack.

ERP integration as the source of truth: In B2B commerce, the ERP is not a secondary system. It is the source of truth for customer credit limits, contract pricing, inventory positions, and order status. Any composable stack for B2B must establish a reliable, bidirectional ERP integration before the commerce architecture can function correctly.

Uncap Connect handles this integration layer for Shopify Plus B2B stores, syncing customer price lists, inventory, order exports, and net terms between Shopify Plus and ERPs including NetSuite, SAP S/4HANA, Microsoft Dynamics 365, and Epicor in near real-time.

Buyer portal UX: B2B buyers reorder. They check order history. They manage multiple ship-to locations. They need PO number entry and net terms visibility. A composable Hydrogen frontend allows you to build a buyer portal that mirrors the sophistication of your B2B sales process, rather than adapting your process to the constraints of a standard Shopify theme.

Composable Commerce vs. Headless Commerce: What Is the Difference?

This is the most common source of confusion in the composable commerce conversation.

Headless commerce separates the frontend presentation layer from the backend commerce engine. The backend remains a single platform (such as Shopify Plus), but it is accessed via APIs rather than through a native storefront. All business logic (pricing, checkout, order management, B2B features) still lives in the backend platform.

Composable commerce goes further: every business capability, including the backend, is an independent, swappable component. You are not just choosing your frontend independently; you are choosing your checkout independently, your search independently, your pricing engine independently, your OMS independently.

The practical implication: headless is a frontend architecture decision. Composable is a full-stack architecture philosophy.

For B2B manufacturers and distributors, headless with Shopify Plus (Hydrogen + Shopify backend) delivers 80% of the composable benefit at 20% of the composable complexity. The Shopify Plus backend handles all B2B logic natively, and the Hydrogen frontend delivers the custom buyer experience. You only need to replace individual backend components (e.g., add Algolia search or Contentful CMS) where Shopify's native capabilities do not meet your specific requirements.

When Composable Commerce Makes Sense (and When It Does Not)

When composable is the right call

The composable architecture approach is the right choice when:

  • Your GMV exceeds $100M and you have specific, well-documented capability requirements that no single platform can meet natively
  • You have an established in-house engineering team of 5+ developers dedicated to your commerce platform
  • You are operating in a market with highly differentiated content, experience, or commerce requirements across multiple regions or channels
  • You are already deeply embedded in a specific technology stack (e.g., an enterprise OMS, a proprietary PIM) and need to compose Shopify capabilities into that stack, not rebuild the stack around Shopify

When composable is the wrong call

Composable architecture will likely create more problems than it solves when:

  • Your priority is speed to market. A full composable build takes 12-24 months to reach production for an enterprise B2B deployment. Shopify Plus with standard B2B configuration goes live in 4-7 months.
  • Your team does not have the engineering depth to maintain multi-vendor API integrations across 8-12 services continuously
  • Your total implementation budget is under $500,000. A production-ready composable stack for B2B commonly runs $1M-$3M in year-one costs including integration, development, and partner fees.
  • Your B2B requirements are well-served by Shopify Plus native features (company accounts, catalogs, net terms, volume pricing) plus a purpose-built ERP integration

The IDC survey finding is instructive: the hybrid approach (composable frontend, full-stack backend) outperforms both extremes for most enterprise organizations. For B2B manufacturers and distributors, that hybrid looks like Shopify Plus + Hydrogen + Uncap Connect ERP integration.

How to Build a Composable B2B Stack on Shopify Plus: A Practical Framework

Layer 1: Commerce backend (Shopify Plus)This is your source of truth for products, customers (company accounts), orders, pricing (catalogs and price lists), inventory, and B2B-specific logic. All accessed via Shopify's Admin API and Storefront API.

Layer 2: ERP integrationBidirectional sync between Shopify Plus and your ERP for customer pricing, inventory positions, order export, and payment terms. Built on Shopify's webhook and API infrastructure.

Layer 3: Headless frontend (Shopify Hydrogen)React-based buyer portal consuming Shopify's Customer Account API and B2B Storefront API. Deployed to Oxygen for global edge performance.

Layer 4: Best-of-breed services (as needed)Swap in specialist services where Shopify's native capabilities do not cover your requirement: Algolia or Searchanise for advanced B2B product search, Contentful or Sanity for complex content management, Klaviyo for account-based email automation, or a custom CPQ (configure-price-quote) layer for complex quote workflows.

Layer 5: Data and analyticsShopifyQL for commerce analytics, connected to your BI stack (Snowflake, BigQuery, or Looker) via Shopify's data export APIs.

This stack delivers the composable flexibility a complex B2B operation needs without the overhead of a full MACH rebuild. It is the architecture Uncap has deployed for manufacturers and distributors processing anywhere from $10M to $200M+ in annual B2B orders on Shopify Plus.

For context on the full B2B tech stack that supports this architecture, see The Best B2B Ecommerce Tech Stack for Shopify Plus.

Frequently Asked Questions

What is composable commerce?

Composable commerce is a modular approach to ecommerce architecture where each business capability, such as checkout, catalog, search, pricing, or order management, is built as an independent component (called a Packaged Business Capability, or PBC) and connected to others via APIs. Businesses assemble these components into a custom stack rather than relying on a single all-in-one platform. The term was coined by Gartner.

What is the difference between composable commerce and headless commerce?

Headless commerce decouples the frontend presentation layer from the backend commerce engine. Composable commerce goes further: every business capability, including the backend, is an independent, swappable component. Headless is a frontend architecture decision. Composable is a full-stack architecture philosophy. For most B2B brands, headless with Shopify Plus (custom Hydrogen frontend, Shopify Plus backend) delivers most of the benefit of composable without the added complexity.

What is Commerce Components by Shopify?

Commerce Components by Shopify is Shopify's enterprise composable offering: a catalog of 30+ individual commerce capabilities organized into six categories (Storefront, Cart and Checkout, Core Commerce, Data and Compliance, Shipping and Logistics, and Omnichannel). It allows enterprise brands with approximately $100M+ GMV to consume specific Shopify capabilities within their existing custom technology stacks. Reference brands include Mattel, Staples, and Steve Madden.

What is Shopify Hydrogen?

Shopify Hydrogen is a React-based framework built specifically for creating headless and composable storefronts powered by Shopify's backend. It is paired with Oxygen, Shopify's edge hosting network, which deploys Hydrogen storefronts globally and sustained 312 million requests per minute during BFCM 2025 at 99.9% uptime. Hydrogen gives B2B developers full control over the frontend while retaining all of Shopify Plus's native B2B capabilities via API.

What are Packaged Business Capabilities (PBCs)?

A Packaged Business Capability (PBC) is a software component representing a complete, functionally self-contained business function, such as checkout, search, or pricing. PBCs are the building blocks of a composable commerce stack. Each PBC exposes its functionality via APIs, enabling it to be integrated with other PBCs regardless of vendor or technology. A PBC differs from a microservice in that it is a complete business function (potentially composed of multiple microservices internally) rather than a single tiny program unit.

What is MACH architecture?

MACH stands for Microservices, API-first, Cloud-native SaaS, and Headless. It is the technical framework, promoted by the MACH Alliance, that underpins composable commerce. Shopify's platform was built with API-first principles from its inception, making it MACH-compatible as a backend for both headless and fully composable commerce architectures.

Is Shopify a composable commerce platform?

Yes, in multiple ways. For enterprise brands ($100M+ GMV), Commerce Components by Shopify provides a full composable component catalog. For mid-market and growing brands, Shopify Plus combined with Hydrogen is a hybrid composable architecture (composable frontend, full-stack backend) that IDC research found outperforms both fully monolithic and fully composable approaches on speed to market, cost, and customer experience. Shopify's API-first design means every capability is accessible as a component.

When should a B2B manufacturer or distributor use composable commerce?

When your GMV exceeds $100M, you have specific capability requirements no single platform can meet natively, and you have an in-house engineering team of 5+ dedicated to your commerce platform. For most manufacturers, distributors, and wholesalers below this threshold, Shopify Plus with Hydrogen and a purpose-built ERP integration delivers the right balance of flexibility and operational reliability without the complexity cost of a full composable build.

How does composable commerce work with ERP integration?

In a composable B2B commerce stack, the ERP remains the source of truth for customer pricing, inventory, credit terms, and order fulfillment. The composable architecture must establish a reliable, bidirectional API integration between the ERP and the relevant commerce PBCs (catalog, pricing, OMS). On Shopify Plus, this is handled via a purpose-built integration layer that syncs customer price lists, inventory, order exports, and net terms between Shopify and ERPs like NetSuite, SAP, Dynamics 365, and Epicor.

What is the total cost of building a composable commerce platform?

A production-ready composable commerce stack for a B2B enterprise typically runs $1M-$3M in year-one costs, including integration development, frontend build, multi-vendor licensing, and ongoing engineering. A Shopify Plus B2B implementation with Hydrogen frontend and ERP integration typically runs $100,000-$300,000. The difference reflects the complexity of maintaining multi-vendor API integrations at scale versus a unified platform with native B2B features and a documented integration architecture.

Continue Reading

If you are evaluating a composable or headless architecture for a B2B manufacturing, distribution, or wholesale operation on Shopify Plus, the right architecture depends on your GMV, engineering capacity, and specific capability gaps. We have built composable and hybrid architectures for more than 380 B2B organizations.

Continue reading

Let's build what comes next, together.

If you're evaluating a platform migration, planning a Shopify B2B launch, or scaling an operation that's outgrowing its current stack, a working session with our team is the right next step.
Book a Strategy Session →
No pitch deck. No slick spin. No B.S.
Peggy Farabaugh
CEO @ Vermont Woods
They are brilliant and very knowledgeable of all that Shopify can do.
Pete Suter
CEO @ Shirley's Popcorn
They are incredibly responsive, honest, and innovative. I've literally never worked with any vendor or partner who works as hard, or is as committed.
Doug Hall
CMO @ PerfectPlants
Super easy to work with, made recommendations based on UX & eCommerce best practices & flawlessly guided us through the migration from WooCommerce. Great people, great price, great results.
Jonit Bookheim
Co-Owner @ Mata Traders
They genuinely want to create something that will make their clients happy and successful.
Growth Chart