API-based headless ecommerce use cases
Use Spree in a headless mode consuming the API directly or by using our JavaScript / TypeScript SDK
Spree API v2 is fast, easy to use, and extend. It’s also well documented in OpenAPI 3.0 (Swagger) format which you can import into Postman app. This new API is based on JSON API spec and uses a blazing-fast Netflix fast_json_api serializer library. Authentication is based on Oauth using doorkeeper library. There are no additional dependencies making it lightweight and future-proof.
Javascript storefront
With this JavaScript / TypeScript SDK developers may easily build amazing apps in React, Vue, or Angular with Spree serving as a headless ecommerce backend engine. Create an entirely custom and decoupled app in JS/TS with this package:
- a one-page checkout
- a Single Page App
- a PWA
SDK makes using Spree API v2 super easy, handling all of the heavyweight tasks such as XHR calls, data processing, data normalization, and error handling. Learn more about the SDK applications here.
Native mobile app
Enable mobile ecommerce functionalities such as product listing, product search, cart, checkout, and payments – one-time or recurring – inside your native mobile app by integrating it with Spree API V2 – a modern lightweight REST API based on JSON API schema and OAuth 2.0 authentication.
Manage all your customers, orders, and payments in the Spree dashboard or export them into your own solution.
Easily issue invoices and integrate your accounting, analytics, or reporting tools.
PWA storefront
Progressive Web Apps (PWA) let you build mobile-friendly user shopping experiences available to everyone through a web browser but enabling native app-like silky smooth functionality. So the best of both worlds.
Learn more about Spree PWA here and check out our Spree-powered PWA fashion demo. Also, visit our spree2vuestorefront which combines Spree inventory and order management capabilities with Vue Storefront’s modern approach to consumer online shopping experiences.
SaaS app
Enable your SaaS users to purchase services – one time or recurring – in various pricing plans, tiers as well as add-ons, or extra packages by integrating your app with Spree API V2.
Manage all your customers, orders, and payments in the Spree dashboard or export them into your own solution. Easily issue invoices or receipts and integrate your accounting, analytics, or reporting tools.
One dashboard to manage them all
Manage all your apps and country-experiences from a single Spree dashboard. Enable your staff to manage only their own app, storefront, country.
Spree API docs
Learn more about both our modern lightweight API V2 and older but more universal API v1. Read documentation