Spree Commerce
Spree Commerce is an open source, headless e-commerce platform built on Ruby on Rails — a self-hosted Shopify and Salesforce Commerce Cloud alternative for B2B, marketplace, and multi-store commerce, with a full REST API and no platform fees.
What is Spree Commerce?
Spree Commerce is an open source, headless e-commerce platform built on Ruby on Rails. It splits the storefront from the commerce engine, so you build any frontend you like against a full REST API while Spree handles products, carts, orders, payments, and promotions. You self-host it and own the whole stack.
What is Spree Commerce best for?
Fast-growing brands and enterprises with commerce needs that outgrow hosted SaaS — B2B wholesale portals, multi-vendor marketplaces, multi-store and multi-tenant setups, and multi-currency, multi-region catalogs. It suits teams with Rails developers who want to customize deeply, avoid transaction fees, and keep their data on their own infrastructure.
What can Spree Commerce do?
- Manage products with unlimited variants, rich media, and flexible pricing (price lists, volume tiers, customer-specific pricing)
- Run B2B portals, multi-vendor marketplaces, multi-store, and white-label multi-tenant setups from one backend
- Serve a full Store API and Admin API with OpenAPI 3.0 specs and typed TypeScript SDKs
- Ship a production-ready Next.js storefront, or swap in React Native, Flutter, or a custom frontend without touching the backend
- Handle multi-currency, multi-language, region-specific taxes, and EU Omnibus compliance
- Integrate payment gateways (Stripe, Adyen, PayPal, custom) and connect ERP, PIM, and WMS systems via webhooks
Is Spree Commerce free?
Yes — the Community Edition is free and open source under the BSD 3-Clause license, with no platform fees or transaction charges; you only pay to host it. Spree also sells an Enterprise Edition that adds SLA-backed support, priority escalation, and direct engineer access for mission-critical deployments.
Where does Spree Commerce fall short?
- It expects Ruby on Rails expertise. Setup, theming, and even some common features assume developers who can work in Rails — non-technical teams will struggle where Shopify would be point-and-click.
- The theme and extension ecosystem is thin. Compared to Shopify’s 250+ themes and huge app store, Spree offers a handful of starting points, and missing functionality often has to be custom-built rather than installed.
- The April 2025 v5 release split features into free Community and paid Enterprise editions, so the most advanced support and some capabilities sit behind the commercial tier.
What does Spree Commerce replace?
Spree Commerce is a self-hosted alternative to Shopify, Salesforce Commerce Cloud, and BigCommerce. It covers the same catalog, cart, checkout, and promotion jobs, but you run it on your own infrastructure, keep full source-code control, and pay no per-order or platform fees.
FAQ
Is Spree Commerce open source? Yes. The Community Edition is fully open source under the permissive BSD 3-Clause license, with the complete source on GitHub. A separate paid Enterprise Edition adds commercial support on top.
Can I self-host Spree Commerce for free? Yes. Spree is designed to be self-hosted — it runs on Docker and deploys to AWS, GCP, Azure, or your own servers — and the Community Edition has no license or platform fees. You only pay for the hosting.
Is Spree a good Shopify alternative? For teams with Rails developers and complex commerce needs (B2B, marketplaces, multi-store), yes — you get full control and no transaction fees. If you want the easiest setup with a large theme and app ecosystem, Shopify is simpler.
What do I need to run Spree Commerce? A server or cloud environment (Docker is supported), a Ruby on Rails runtime and database, and Rails development skills to customize the storefront and admin. MeiliSearch powers search, and the Next.js storefront is optional.