Saleor

On this page 8

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.

ComponentRoleTechnology
Core APICommerce logic and data accessPython, Django, GraphQL
DatabaseProducts, orders, customers, stockPostgreSQL
DashboardAdministration for staffReact single-page application
StorefrontCustomer-facing shopAny framework, often Next.js
AppsExtensions such as payments or searchSeparate services using webhooks
WorkerAsynchronous jobs and emailsTask queue with a message broker
Main components of a Saleor deployment

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.

ConceptWhat it definesPractical effect
ChannelCurrency, prices, visibility per marketOne catalog serves several countries
Product typeAttribute set for a product familyConsistent structured product data
AttributeTyped property such as size or materialFiltering, variants, rich content
VariantPurchasable item with its own SKUSeparate stock and price per option
WarehouseStock location and shipping zonesMulti-warehouse allocation
TransactionPayment events recorded on an orderFlexible payment provider integration
Core Saleor concepts and their purpose

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.

PlatformArchitectureMain languageTypical user
SaleorHeadless, GraphQL onlyPythonEngineering-led brands
MedusaHeadless, modularTypeScriptJavaScript-focused teams
SyliusFramework-based, API availablePHPCustom B2B and B2C projects
commercetoolsHeadless SaaS, composableProprietaryLarge enterprises
ShopifyHosted, optional headlessProprietaryMerchants of all sizes
WooCommerceMonolithic WordPress pluginPHPSmall and content-driven stores
Positioning of Saleor among selected platforms

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.

SituationFitReason
Custom storefront with modern frameworkStrongAPI-first design suits any frontend
Several countries and currenciesStrongChannels separate prices and availability
Python expertise in the teamStrongCore can be read, patched and extended
No developers availableWeakNo built-in themes or page rendering
Need for many ready pluginsWeakSmaller ecosystem than mainstream platforms
Decision guide for considering Saleor

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.