close

What is composable commerce?

Composable commerce is an ecommerce architecture that connects independent capabilities through APIs. Merchants can choose and replace tools for jobs such as product search, content management and payments. Explore Saleor’s source code and components.

Composable commerce architecture with Saleor

How does composable commerce work?

In composable commerce, independently run services work together through APIs and webhooks. Some services return an answer checkout needs right away. Others take over work after the order is placed.

When a tax app handles tax calculation, Saleor sends it a synchronous webhook during checkout and uses the returned tax amounts to calculate the total. After the order is placed, Saleor sends an asynchronous webhook to subscribed systems. A fulfillment system can queue the work and retry it if the warehouse software is temporarily unavailable.

How commerce moved from monolithic to composable

Early ecommerce platforms shipped the storefront and commerce engine together. Headless commerce let merchants build a separate storefront and call the engine through APIs. During the Web 2.0 era, Ajax helped popularize fetching data in the browser without reloading the page.

As more specialist services became available as SaaS, merchants could choose how to handle individual jobs such as tax and fulfillment. Webhooks carried requests and events between those systems. Public cloud services such as managed queues and serverless functions made it easier to process events and retry failed jobs without operating the underlying infrastructure.

MADO in composable commerce

MADO stands for modeling, automation, delegation, and observability. Merchants model products and their relationships to brands, automate work such as sending new orders to fulfillment, and delegate decisions such as tax calculation to specialist apps. With request traces, the team can see which app handled a request and where it failed. See how MADO works in decomposable commerce.

How does composable commerce differ from headless commerce?

Headless commerce separates the storefront from the commerce backend. Composable commerce lets merchants select and connect independent capabilities across the stack. For example, a retailer can give a dedicated order management system control over which warehouse fulfills each order while keeping its existing checkout.

What does a composable commerce platform include?

A composable commerce platform can provide the core jobs of selling online, including the catalog, pricing, inventory, checkout and orders. Merchants can connect specialist services for jobs such as search, content and payment processing through APIs and webhooks.

Saleor includes those core commerce capabilities and runs them on Saleor Cloud. When a merchant adds a service, their team or implementation partner connects it to Saleor and keeps the integration working. If a search provider goes out of sync, someone still has to catch the problem and update the index.

A composable commerce example from Lush

Lush uses Saleor as its commerce engine, Algolia for search and Contentful for content. After replatforming, Lush’s teams could manage global commerce from one Saleor dashboard while controlling products and shipping rules by channel. See how Lush runs global commerce.

What is MACH architecture in ecommerce?

MACH stands for microservices, API-first, cloud-native SaaS, and headless. In ecommerce, MACH makes it easier to combine services from different vendors through APIs. How much merchants can change within each service depends on the rules and data it lets them control.

A retailer can choose a checkout that supports guest purchasing and a CMS that lets editors publish brand pages without a storefront release. When the retailer launches a marketplace, checkout needs to show delivery options for each seller, and editors want brand pages that update as sellers add products. The team now needs to know whether it can change how checkout gets its delivery options and how the CMS uses catalog data.

With Commerce as Code, teams can keep the configuration in Git, review it in pull requests, and apply it across environments.

With decomposable commerce, teams start with an integrated platform. A retailer can launch with its built-in checkout and content models, then bring in a specialist CMS or delegate delivery rules as the business grows.

Tools for commerce teams

Integrate business applications

Customer support
Give support teams one dashboard and control which data they can access.
Catalog localization
Translate product descriptions and metadata for each market using Saleor’s catalog tools.
Merchandising
Manage products in Saleor or connect a product information management system that fits your catalog.

Change your stack in stages

Replatform in stages

Move one commerce capability at a time and keep the rest of your stack running during the migration.

Reduce vendor lock-in

Add or remove components to retain the flexibility of your stack and commercial deals.

API-first extensibility

Reduce integration efforts and customization limits with API-first approach.

Developer productivity

Development environments

Use sandboxes and data branching to create productive development workflows and E2E tests.

Develop locally

Run the platform locally for rapid experimentation, testing, database branching, and more.

Front-end and Admin API

Granular-permission model for APIs, including public APIs for simpler front-end implementations.

Technology agnostic

Build commerce with any stack

Headless and API-first
Decoupled front-end and business logic simplifies integration and increases development speed.
GraphQL Native
Efficient data retrieval and enhanced productivity via a composable setup.
Open source integrations
Build or modify custom integrations using existing open source codebases.
Extensible admin
Embed back-office apps into the Saleor dashboard via iFrames and Javascript SDK.
Event driven
Subscribe to 140+ real-time webhook events to create automations and integrations.
Open standards
No proprietary or platform-specific SDKs, frameworks, or specialized trainings are required.

Ready to discuss your project?

The Saleor team and its global network of partners are leaders in composable, API-first commerce.

Open apps ecosystem

Bring your own Payments, Shipping, or any other App that fits your needs best. Host it yourself and run it without going trough tedious approval process.