Saleor is an open-source, headless commerce platform written in Python on the Django framework that exposes catalog, checkout, order and customer functions exclusively through a GraphQL API. Among store platforms in E-commerce, it belongs to the API-first group that separates the commerce backend from any storefront, unlike monolithic systems such as WooCommerce or classic Magento.
Saleor is developed by a company of the same name and released under the permissive BSD 3-Clause license, with a managed hosting option called Saleor Cloud. It is aimed at engineering teams that want a modern data model and full control over the frontend.
How the Saleor architecture works
Saleor is a backend service without a built-in storefront. Every client, whether a web shop, a mobile app, a point-of-sale terminal or the administration panel, talks to the same GraphQL endpoint, which returns only the fields each query requests. Data is stored in PostgreSQL, and background tasks run through a task queue.
The table below summarizes the main building blocks of a typical Saleor deployment.
| Component | Role | Technology |
|---|---|---|
| Core API | Commerce logic and data access | Python, Django, GraphQL |
| Database | Products, orders, customers, stock | PostgreSQL |
| Dashboard | Administration for staff | React single-page application |
| Storefront | Customer-facing shop | Any framework, often Next.js |
| Apps | Extensions such as payments or search | Separate services using webhooks |
| Worker | Asynchronous jobs and emails | Task queue with a message broker |
Because the API is the only interface, the storefront can be replaced without touching commerce logic. This decoupling is the core promise of headless commerce, but it also means the merchant must build or adopt a frontend, since Saleor does not render pages itself.
Key concepts in the Saleor data model
Saleor organizes commerce around a few flexible abstractions that let one installation serve several markets. The most distinctive is the channel, which defines currency, pricing, product availability and checkout settings for a market or sales outlet.
| Concept | What it defines | Practical effect |
|---|---|---|
| Channel | Currency, prices, visibility per market | One catalog serves several countries |
| Product type | Attribute set for a product family | Consistent structured product data |
| Attribute | Typed property such as size or material | Filtering, variants, rich content |
| Variant | Purchasable item with its own SKU | Separate stock and price per option |
| Warehouse | Stock location and shipping zones | Multi-warehouse allocation |
| Transaction | Payment events recorded on an order | Flexible payment provider integration |
Multi-warehouse stock allocation links each warehouse to shipping zones and channels, so the platform can reserve stock from the right location during checkout. Multi-currency pricing is set per channel rather than converted on the fly, which keeps prices predictable for finance teams.
Extending Saleor with apps and webhooks
Saleor is extended mainly through apps, which are external services that receive scoped API tokens and webhooks. Apps can run in any language, live on separate infrastructure and appear inside the dashboard through embedded views, which keeps custom code out of the core.
- Asynchronous webhooks notify apps after events such as an order being created, which suits ERP synchronization or email sending.
- Synchronous webhooks let an app answer during a request, for example to calculate shipping prices or taxes at checkout.
- Payment apps connect providers through the transaction API, which records authorizations, charges and refunds on the order.
- Permissions restrict each app to the data it needs, which limits damage if an app is compromised.
The older in-process plugin system still exists in parts of the codebase, but the project direction favors apps. Teams starting today should design integrations as apps to stay aligned with future platform upgrades.
Saleor compared with other store platforms
Saleor competes mostly with other headless and open-source platforms rather than with hosted builders aimed at small merchants. The comparison below shows the general positioning; exact capabilities change between releases.
| Platform | Architecture | Main language | Typical user |
|---|---|---|---|
| Saleor | Headless, GraphQL only | Python | Engineering-led brands |
| Medusa | Headless, modular | TypeScript | JavaScript-focused teams |
| Sylius | Framework-based, API available | PHP | Custom B2B and B2C projects |
| commercetools | Headless SaaS, composable | Proprietary | Large enterprises |
| Shopify | Hosted, optional headless | Proprietary | Merchants of all sizes |
| WooCommerce | Monolithic WordPress plugin | PHP | Small and content-driven stores |
The main differentiator is the strict GraphQL-only approach. It gives frontend developers precise, typed queries, but teams used to REST or server-rendered themes face a steeper learning curve than with traditional platforms.
When Saleor fits and when it does not
Saleor fits organizations that have in-house developers and need custom experiences across several channels or markets. It suits less well a merchant who wants a ready-made theme, a large plugin marketplace and no engineering budget.
| Situation | Fit | Reason |
|---|---|---|
| Custom storefront with modern framework | Strong | API-first design suits any frontend |
| Several countries and currencies | Strong | Channels separate prices and availability |
| Python expertise in the team | Strong | Core can be read, patched and extended |
| No developers available | Weak | No built-in themes or page rendering |
| Need for many ready plugins | Weak | Smaller ecosystem than mainstream platforms |
Limitations and operational considerations
Running Saleor self-hosted means owning infrastructure, upgrades and security patches. The platform moves quickly, and major releases have introduced breaking API changes, so teams need a test suite and a planned upgrade cadence rather than occasional jumps across many versions.
Other practical points include GraphQL query cost, since unbounded nested queries can strain the database, and the need for caching at the storefront or CDN layer. Content management is limited, so many projects pair Saleor with a headless CMS for editorial pages, which adds another system to maintain.
The simple explanation
Saleor is the engine room of an online shop without the shop window. It keeps track of products, prices, stock, carts and orders, but it does not decide what the shop looks like.
Developers build the visible part separately, such as a website or a phone app, and connect it to Saleor through one standard interface. This makes it possible to change the look completely or open a new sales channel without rebuilding the business logic, but it does require people who can write code.
How it is used in practice
A furniture brand sells in four European countries and wants a fast, design-heavy website plus an app for showroom staff. Its development team deploys Saleor with four channels, one per country, each with its own currency, prices and product availability, and connects two warehouses with shipping zones so that orders are allocated to the nearest stock.
The storefront is built with Next.js and queries only the fields each page needs through GraphQL. A payment app records authorizations and refunds as transactions, and a separate app sends finished orders to the company ERP through asynchronous webhooks. Launching a fifth country takes a new channel and price list rather than a new store, and the showroom app reuses the same API without duplicating catalog data.