Spree Commerce is an open-source headless ecommerce platform with a REST API, a typed TypeScript SDK, and a production-ready Next.js storefront. It covers B2B wholesale portals, multi-vendor marketplaces, and cross-border stores from one self-hosted backend with zero platform fees.[1][2]
Quick verdict
Spree Commerce is a sound fit for teams that want a self-hosted commerce backend with a REST API and Next.js storefront for B2B, marketplace, or cross-border stores. The tradeoff is operational: hosting is yours to run, and the full enterprise module surface is paid, so managed-checkout merchants should stay on SaaS.[1][2][3]
What Spree Commerce ships
A production-grade REST API built on OpenAPI 3.0 covers products, carts, checkout, payments, orders, and fulfillments, with flat JSON responses across every commerce operation.[1]
A typed TypeScript SDK gives Next.js and React teams autocomplete and type safety against the API, and a production-ready Next.js storefront installs locally with a single command.[1][2]
Login-gated sales channels hide prices and checkout from guests until they hold an account, enforced at the API layer, and a wholesale portal storefront serves repeat B2B buyers with customer pricing and quick ordering.[1]
Multi-vendor marketplaces, multi-store brands, and multi-region selling with localized currencies, tax rules, and shipping run from one backend, and the admin dashboard is localized in more than 50 languages.[1][2]
Zero platform fees with full ownership of code, data, and infrastructure remove the transaction-fee compounding Spree attributes to SaaS platforms, and Spree names Shopify and BigCommerce directly as the incumbents its self-hosted model replaces.[1][2]
Who it fits
Teams building B2B or wholesale portals fit well, because custom price lists, buyer organizations, gated channels, and quick ordering are documented as native rather than assembled from plugins.[1][2]
Marketplace operators fit well, because vendors manage their own products while the operator keeps control of payouts, commissions, and quality from a single backend.[1]
Enterprise teams leaving SaaS commerce fit well when their requirements center on code ownership, compliance mandates, and deep integrations that hosted platforms do not expose.[1]
Limits to weigh
The free core does not include everything: B2B, multi-tenant, and marketplace Enterprise Edition modules, plus the multi-store module, require a commercial or Enterprise License, so the full enterprise surface is paid.[1]
Operating Spree means operating infrastructure: the deployment model assumes the adopter provisions hosting, a database, and ongoing maintenance, which is a real staffing commitment compared with managed checkout.[1][2]
Several decision facts remain unconfirmed in the inspected official pages, including SSO availability, managed-cloud hosting beyond a sandbox, offline behavior, and the repository implementation stack, so buyers should verify those directly.[1][2]
Deployment and integration
Spree runs anywhere containers run, including VPS, PaaS, Kubernetes, and private networks with no phone-home dependencies, on PostgreSQL, MySQL, MariaDB, or SQLite with background jobs stored in the database.[1]
Frontend teams integrate through the REST API or the TypeScript SDK, and scaling stays configurational: extra web instances, split workers, Redis or Valkey caching, and Meilisearch search attach without rearchitecting.[1][2]
Questions worth asking
What license does Spree Commerce use?
Spree core is BSD-3-Clause software that is free to use, modify, and distribute in commercial projects. Ecosystem packages are MIT licensed, while the multi-store module and Enterprise Edition modules covering B2B, multi-tenant, and marketplace use are sold under separate commercial terms.[1]
How do you self-host Spree Commerce?
Is Spree Commerce a replacement for Shopify?
Spree officially positions itself as an open-source Shopify alternative for enterprise teams that have outgrown SaaS commerce, citing code ownership, compliance, and deep integrations. That positioning is aimed at teams needing self-hosting and control, not at merchants who want fully managed checkout.[1][2]
Does Spree Commerce support B2B and marketplaces?
Sources and editorial review
Source research. Reviewed on October 13, 2026. Written by Sanjib Sah. AI assisted; reviewed by a human editor.
We have not run or tested this product.
- Spree Commerce | Open Source Headless eCommerce Platform
official · Observed October 11, 2026
Homepage headline, use cases, install command, customer logos, and zero-fee self-hosting claims.
- GitHub - spree/spree
official · Observed October 11, 2026
Repository identity page confirming the spree/spree project and its commerce scope.
- Open Source Ecommerce Platform | Spree Commerce
official · Observed October 11, 2026
Official article describing the REST API, SDK, storefront, native commerce models, and license posture.
- Spree Commerce Licensing: BSD-3-Clause Open Source
official · Observed October 11, 2026
Definitive 2026 licensing reference for core, ecosystem, multi-store, and enterprise modules.
- Spree Commerce 5.6: Open Source B2B and Wholesale Portal
official · Observed October 11, 2026
Release notes for gated sales channels, wholesale portal, pre-orders, localized admin, and single-image deployment.
- Spree Deployment Overview
official · Observed October 11, 2026
Self-hosting requirements, database options, and scaling topology for operators.
- Spree Commerce: The Best Open-Source Shopify Alternative
official · Observed October 11, 2026
Official enterprise article positioning Spree against Shopify and BigCommerce with support and go-live claims.