Open Source Ecommerce Platform: What Headless Architecture and Permissive Licensing Mean for Your Business
Spree Commerce is a headless, open source ecommerce platform that ships a production-grade REST API, zero platform fees, and a permissive open source license. It delivers built-in B2B, marketplace, and cross border ecommerce, with full ownership of your entire codebase and deployment infrastructure.
Key Takeaways
Last verified: April 2026
The problem: SaaS ecommerce platforms charge transaction fees, restrict data access, and gate critical features behind expensive tiers. Most open source alternatives require assembling plugins from multiple vendors to cover basic commerce scenarios.
The approach: Spree Commerce ships a full open source ecommerce stack with headless architecture, zero platform fees, and a permissive license.
Why it matters: You own every line of code, deploy on your own infrastructure, and run B2B, marketplace, and cross border commerce natively.
Open Source Ecommerce Platform: From Zero to Running in Minutes
Install Spree Commerce with a single command. Fork the Next.js ecommerce storefront, connect it to the REST API, and you have a working commerce application. Technical evaluators can prototype in hours. Business teams can go live in days or weeks, not the months that enterprise platform migrations typically demand.
Today, open source ecommerce platforms ship complete stacks: production-ready storefronts, typed SDKs, automated payment integrations, and native support for business models that SaaS platforms lock behind enterprise tiers. The question is no longer “can open source handle it?” It is “why would you pay a platform tax when you do not have to?”
And because Spree Commerce runs under a permissive open source license, your legal team will not spend weeks debating code disclosure obligations before greenlighting the project.
This post unpacks what headless open source ecommerce actually looks like, why the license model matters more than most teams realize, and what Spree Commerce delivers for teams building B2B portals, multi vendor marketplaces, and cross border commerce operations.
What Does Spree Commerce Open Source Ship Today?
Spree Commerce 5.4 ships a complete open source ecommerce stack. Here is what the platform delivers out of the box:
- A production-grade REST API built on OpenAPI 3.0, with flat JSON responses across every commerce operation: products, carts, checkout, payments, orders, and fulfillments.
- A typed TypeScript SDK that gives Next.js and React teams autocomplete and type safety without manual API wrangling.
- A Next.js ecommerce storefront built on Next.js 16, React 19, and Tailwind CSS, with one-page checkout, express payments, and multi regional support.
- Provider-agnostic payments through a Payment Sessions API that handles Stripe, Adyen, and PayPal. Swap providers without changing your checkout code. 3D Secure and PCI compliance are built in.
- Price lists and customer segments for wholesale and B2B pricing.
- Markets for cross border commerce, bundling geography, currency, and locale into distinct selling regions within a single store.
- A Translations Center for managing product content across languages at scale.
The net result: a single platform that handles B2B ecommerce, multi vendor marketplaces, multi store operations, and cross border commerce natively. No plugins. No bolt-on modules from third-party vendors.
What Does Headless Open Source Ecommerce Look Like?
Headless means your storefront and your commerce engine are completely separate. Your frontend team builds the customer experience in whatever technology they prefer. The commerce engine handles orders, payments, inventory, and business logic through an API. The two communicate over HTTP, and neither depends on the other’s tech stack.
This matters because your frontend is not locked into one vendor’s template system. According to a16z research, roughly 35% of the top 100 marketplaces now run React or Next.js frontends (Andreessen Horowitz, 2025). These teams chose headless architecture because they wanted full control over the shopping experience without being constrained by a backend platform’s rendering layer.
Spree Commerce implements headless architecture through three layers that work together:
- A complete REST API documented with OpenAPI 3.0. Every commerce operation is available through standard HTTP endpoints returning flat JSON. Import the OpenAPI spec into Postman, and you are making API calls in minutes.
- A typed TypeScript SDK that gives Next.js and React teams autocomplete and type safety out of the box. No manual API wrangling. No guessing what fields an endpoint returns.
- A production-grade Next.js ecommerce storefront built on Next.js 16, React 19, and Tailwind CSS. It ships with one-page checkout, express payments (Apple Pay, Google Pay), MeiliSearch integration, and multi regional support. Fork it, customize it, deploy it.
The same API powers mobile apps. Antoine Lavail, CTO at VERO, integrated it into their mobile app to run a full marketplace shopping experience connecting multiple vendors into one checkout. Your iOS or Android app talks to the same commerce engine as your web storefront.
The alternative is a monolithic platform where the storefront, business logic, and database are welded together. Change the checkout flow, and you are modifying the same codebase that handles inventory. Upgrade the platform, and your storefront customizations might break. Headless architecture eliminates that coupling entirely.
Why Does Your Open Source License Matter More Than You Think?
The license determines what you can actually do with the code. Not all open source licenses are equal, and getting this wrong can stall procurement for months.
Spree Commerce uses permissive licenses across the entire stack. The commerce engine is BSD 3-Clause. The storefront, SDK, and frontend packages are MIT. Both are free, open source, and place zero restrictions on commercial use. You can modify the code, build proprietary features on top, and keep your changes private. No disclosure requirements. No copyleft obligations.
Compare that to Shopify, BigCommerce, Adobe Commerce, or commercetools. With proprietary platforms, you rent access to code you never see. You pay transaction fees on every sale. You accept whatever deployment region the vendor chooses. And when you outgrow their pricing tier, you negotiate from a position of lock-in. With Spree Commerce, you own the code outright and deploy it on infrastructure you control.
Everything Ships Built In. No Plugins Required.
Spree Commerce ships B2B, marketplace, and cross border commerce as native modules, not third-party add-ons. This is the single biggest difference between Spree Commerce and the platforms (SaaS and open source alike) that rely on plugin ecosystems to fill capability gaps.
On most ecommerce platforms, building a multi vendor marketplace means installing a third-party plugin, paying a separate vendor, and hoping the plugin keeps pace with platform updates. On Spree, the marketplace engine is part of the platform itself. The Community Edition (free, open source) includes vendor onboarding, vendor dashboards, multi vendor checkout with automatic order splitting, configurable commission management, and a Vendors API. You launch a marketplace without spending a dollar on licensing.
The Enterprise Edition adds automation at scale: vendors connect their existing stores and everything syncs (products, inventory, orders, shipments) automatically. Stripe Connect handles automated commission splitting and vendor payouts. If your marketplace handles high volume across many vendors, the Enterprise Edition removes the manual work. Get in touch to explore how the Enterprise Edition fits your marketplace.
The same pattern applies to B2B ecommerce. Customer-specific pricing, buyer organizations with spending limits, approval workflows for purchase orders, and gated storefronts with member-only catalogs are all built in. Your wholesale customers log in and see their negotiated prices. Their purchasing managers approve orders before they ship. The whole workflow works without custom development.
Cross border ecommerce follows the same model. Markets bundle geography, currency, and locale into distinct selling regions. Set up a European market with EUR pricing, German and French translations, and EU-specific tax rules, then add a North American market with USD and CAD. One store, multiple regions, no multi store overhead. The EU Omnibus Directive price-history tracking is built in and mandatory by default.
Your Data Lives on Your Infrastructure
When you self-host, no vendor can hold your data hostage. You deploy on AWS, Google Cloud, Azure, or your own European infrastructure. The data never leaves servers you control.
This is not a theoretical concern. When the average data breach costs $4.45 million (IBM Cost of a Data Breach Report, 2023), the question of where your customer data, payment records, and order histories actually reside is a board-level conversation. With a SaaS platform, that data sits on shared infrastructure you cannot audit, in a jurisdiction you may not choose, under terms that can change with the next contract renewal.
With Spree Commerce, data sovereignty is the default. You choose the cloud provider. You choose the region. You choose the encryption. You choose the backup strategy. For European teams evaluating platforms under GDPR and NIS2, this is not a feature. It is a requirement.
Self-hosting also means zero platform fees. No per-transaction percentage on your GMV. No revenue share on marketplace sales. No surprise invoices when your traffic spikes. Your infrastructure costs scale predictably with your actual compute usage, not with a vendor’s pricing formula tied to your success. GoDaddy runs over 10,000 stores on Spree Commerce. At that scale, even a small per-transaction fee becomes a massive line item.
Who Builds on an Open Source Ecommerce Platform?
Enterprises, marketplaces, and SaaS platforms building commerce into their products. The common thread is teams that need full control over the commerce experience and refuse to accept the constraints of a SaaS platform.
Maisonette, a multi vendor childrenswear marketplace, runs on Spree Commerce with a custom Next.js frontend. The platform manages over 65,000 products across hundreds of brands, with multi vendor checkout and automated order splitting. What cost $15 million to build in 2018 is now achievable with a one-command install and the open source Next.js storefront that ships with Spree Commerce.
VERO integrated the REST API into their mobile app to connect multiple vendors (including existing stores on other platforms) into a single marketplace checkout. The flat JSON responses and OpenAPI spec made it straightforward for their mobile engineering team to generate typed clients and move fast.
GoDaddy powers over 10,000 stores on Spree Commerce from a single platform instance. At that scale, the combination of open source flexibility and zero per-transaction fees makes the total cost of ownership dramatically lower than any SaaS alternative.
These are not hobby projects. They are production commerce operations running at scale on a platform they fully own.
Start Building on Spree Commerce
For teams that need full control over their commerce stack, open source ecommerce is now a genuine alternative to enterprise SaaS platforms. Spree Commerce delivers headless architecture, a permissive license, and native support for the business models enterprise teams actually need. The REST API is documented, the TypeScript SDK is typed, and the Next.js storefront is ready to fork.
Start building with Spree Commerce to explore what the platform can do for your B2B, marketplace, or cross border commerce operation.
Frequently Asked Questions
What is an open source ecommerce platform?
An open source ecommerce platform is commerce software whose source code is publicly available for anyone to use, modify, and deploy. You can audit every line of code, customize the checkout, build proprietary features on top, and deploy on infrastructure you control. Spree Commerce is an open source ecommerce platform licensed under BSD 3-Clause (commerce engine) and MIT (storefront and SDK).
What does headless ecommerce mean?
Headless ecommerce separates the customer-facing storefront from the commerce engine that handles orders, payments, and business logic. The two communicate through an API, so your frontend team builds in whatever technology they prefer while the backend handles the rest. Spree Commerce implements headless architecture with a complete REST API documented via OpenAPI 3.0, a typed TypeScript SDK, and a production-grade Next.js ecommerce storefront.
Is Spree Commerce free to use?
Spree Commerce Community Edition is free and open source. It includes the commerce engine, the REST API, the TypeScript SDK, the Next.js storefront, a multi vendor marketplace engine (vendor onboarding, checkout, commissions), and cross border commerce with Markets. The Enterprise Edition adds automation at scale (Stripe Connect payouts, vendor store syncing), B2B features (buyer organizations, approval workflows), and dedicated support.
How does Spree Commerce handle B2B ecommerce?
Spree Commerce ships native B2B modules: customer-specific pricing through price lists, buyer organizations with hierarchical permissions and spending limits, approval workflows for purchase orders, and gated storefronts with member-only catalogs. Wholesale customers log in and see their negotiated prices without a separate system. These features make Spree Commerce a strong fit as an open source B2B ecommerce platform for manufacturers, distributors, and wholesale operators.
Can I build a marketplace on Spree Commerce?
Spree Commerce Community Edition ships a complete multi vendor marketplace engine for free: vendor onboarding, vendor dashboards, multi vendor cart and checkout, automatic order splitting, configurable commissions, and a Vendors API. The Enterprise Edition adds automated vendor store syncing and Stripe Connect payouts for high-volume operations. Maisonette runs a marketplace with over 65,000 products across hundreds of brands on Spree Commerce.
What license does Spree Commerce use?
Spree Commerce uses permissive open source licenses across the entire stack. The commerce engine uses BSD 3-Clause, and the TypeScript code (Next.js storefront, SDK, frontend packages) uses MIT. Both licenses allow commercial use, modification, and redistribution without requiring you to open source your changes. Enterprise legal teams typically approve permissive licenses in days, compared to months for copyleft alternatives like GPL or AGPL.
How does Spree Commerce compare to SaaS ecommerce platforms?
SaaS platforms charge platform fees (often a percentage of every transaction), restrict data access, gate features behind expensive tiers, and limit your deployment options. Spree Commerce charges zero platform fees, gives you the full source code, and lets you deploy on any infrastructure. Spree Commerce ships B2B, marketplace, and cross border commerce in the free Community Edition, while SaaS platforms typically lock these capabilities behind their most expensive plans.