Commerce architecture

Decomposable Commerce

Decomposable commerce is an integrated commerce platform whose individual capabilities merchants can extend, connect to other systems or replace without rebuilding the rest of the platform.

Architecture evolution

How commerce architecture evolved

  • Monolithic

    Principal driver
    Ecommerce adoption
    Architectural approach
    Combine storefront and commerce functions in one application.
  • Headless

    Principal driver
    Mobile and omnichannel adoption
    Architectural approach
    Separate the storefront from the commerce backend.
  • Composable

    Principal driver
    Microservices and SaaS
    Architectural approach
    Assemble independent commerce capabilities.
  • Decomposable

    Principal driver
    Integration and operational complexity
    Architectural approach
    Start with connected capabilities; adapt them as needs change.
MADO framework

How decomposable commerce works

Modular code describes how a vendor organizes its own software. Decomposability asks whether a merchant can replace one capability with another vendor’s SaaS or a service built in a different stack, without rebuilding checkout and orders.

MADO gives teams four things to decide: what their commerce system models, what it automates, which responsibilities it delegates and how they observe its behavior.

M

Model the commerce domain

Saleor includes products, categories and collections. Attributes add typed fields. Saleor Models let teams define entities such as brands, vendors and customer tiers; Structures arrange Models, categories and collections into hierarchies. Modeling docs

A

Automate commerce workflows

Saleor’s APIs, Apps and webhooks let teams automate order handling, product and inventory updates, and fulfillment coordination.

D

Delegate a responsibility

Use a Saleor App to connect payment processors, tax services or shipping providers to checkout and orders.

O

Observe the system

With OpenTelemetry, teams can trace requests through Saleor Core and App calls to find errors and slowdowns. Telemetry docs

Capabilities

What Saleor includes and what you can change

Saleor starts with a product catalog, stock tracking, checkout and orders. Add a specialist service for one responsibility; keep the rest of the commerce flow in Saleor.

  • Stock and orders

    Stock tracking docs
    Start with Saleor
    Saleor tracks variant stock and validates availability for checkouts and draft orders.
    When you add a specialist service
    If an ERP owns inventory across channels, sync its stock changes to Saleor through stock update mutations.
    What Saleor keeps doing
    Saleor still handles the catalog, checkout and orders. Configure stock tracking to match how the ERP synchronizes inventory.
  • Start with Saleor
    Configure shipping zones, methods and rates in Saleor.
    When you add a specialist service
    Add a Saleor App for carrier connections, custom rates or dynamic shipping rules.
    What Saleor keeps doing
    Checkout requests available delivery methods and saves the customer’s selection.
  • Start with Saleor
    Saleor provides checkout and the Transaction API; a Payment App connects to a payment provider.
    When you add a specialist service
    Use the existing Stripe or Adyen Apps, or integrate any provider you choose with a custom App or your own backend.
    What Saleor keeps doing
    Saleor records transaction status and balances on the checkout or order.
  • Start with Saleor
    Configure tax classes and flat-rate rules in Saleor.
    When you add a specialist service
    Use the Saleor Taxes App with Avalara AvaTax for external tax calculation through synchronous webhooks.
    What Saleor keeps doing
    Saleor saves the returned prices to the checkout or order.
  • Transactional email

    Extending Saleor
    Start with Saleor
    On Saleor Cloud, use Customer Emails for order and account emails through your SMTP provider.
    When you add a specialist service
    Send order and fulfillment events to Klaviyo to trigger emails there, or use Saleor webhooks to connect another email service.
    What Saleor keeps doing
    Saleor manages orders and fulfillment and emits the events that trigger messages.
  • Structured data and content

    Modeling docs
    Start with Saleor
    Saleor provides a structured data CMS: Models and Attributes define custom commerce entities and fields, while Structures arrange them into hierarchies.
    When you add a specialist service
    If you need a separate editorial CMS, sync selected product fields from Saleor to Contentful, Strapi, DatoCMS, Builder.io or Payload with the Saleor CMS App.
    What Saleor keeps doing
    Saleor remains the source for synced product fields; the CMS manages separate editorial content.

The backorders recipe represents immediately available and supplier inventory in separate Saleor warehouses; an integration handles supplier purchasing and lead-time updates.

In practice

How Saleor puts decomposable commerce into practice

If you’re deciding whether to extend, integrate or replace part of your platform, read Decomposable Commerce: Getting Started Without Getting Stuck.

Need a part of your commerce stack to work differently?

Tell us what needs to change. We can discuss whether to extend Saleor, connect another service or build it through Made-to-Measure.