
MACH Architecture in SAP Commerce Cloud: What It Means in Practice
Andreas Granzer
SAP Commerce & AI Architect, Spadoom AG
MACH architecture has become the industry’s shorthand for modern commerce platforms. But there’s a gap between the marketing definition and how these principles actually apply to SAP Commerce Cloud. Commerce Cloud isn’t a pure MACH platform — it’s a hybrid that implements some principles natively and others through extension. Understanding the nuance helps you make realistic architecture decisions.
This guide breaks down each MACH principle and explains how Commerce Cloud delivers it — and where it doesn’t.
TL;DR: MACH stands for Microservices, API-first, Cloud-native, Headless. Ninety-one per cent of organisations increased their MACH investment last year, with 90% reporting ROI met or exceeded expectations (MACH Alliance, 2025). Commerce Cloud delivers on API-first (OCC APIs), Cloud-native (managed infrastructure), and Headless (Composable Storefront) — but its monolithic Java backend isn’t truly microservices-based. It’s a pragmatic hybrid.
What Does MACH Architecture Actually Mean?
Ninety-one per cent of organisations increased their composable/MACH infrastructure investment in the past year, with 90% reporting ROI that met or exceeded expectations — a 7% increase year-over-year. This comes from a survey of 561 IT decision makers at director level or above from enterprises with 5,000+ employees (MACH Alliance, 2025).
MACH is an acronym for four architectural principles:
- Microservices — business logic decomposed into small, independently deployable services
- API-first — all functionality exposed through well-defined APIs before any UI
- Cloud-native — built for cloud infrastructure with auto-scaling, resilience, and managed services
- Headless — frontend decoupled from backend, communicating only through APIs
These principles aren’t all-or-nothing. A platform can be strong on some and weaker on others. What matters is how each principle impacts your specific implementation.
How Does Commerce Cloud Handle the “M” — Microservices?
Thirty-eight per cent of retail organisations have used MACH technology for more than 7 years, making retail the leading sector for composable architecture adoption (MACH Alliance / Consumer Goods Technology, 2025). But “using MACH” doesn’t always mean a pure microservices architecture.
The honest answer: Commerce Cloud’s backend is a monolithic Java application, not a microservices architecture. Cart, checkout, pricing, search, and order management all run in the same JVM process. You don’t deploy individual services independently — you deploy the entire platform as a unit.
Where microservices appear:
- SAP BTP extensions — you can build custom microservices on SAP BTP (Kyma runtime, Cloud Foundry) that Commerce Cloud calls via APIs
- Side-by-side extensions — SAP’s recommended approach for new custom logic: build it as a standalone service on BTP rather than as a Commerce Cloud extension
- Third-party integrations — payment, tax, search, and personalisation services run as independent microservices that Commerce Cloud calls
The practical impact: You don’t get independent deployment of commerce modules. But you do get extensibility through external microservices — which is often enough for most implementations.
How Strong Is the “A” — API-First?
E-commerce platform market worth is projected to reach $16.5 billion by 2030, up from $10.5 billion in 2025, at 12.7% CAGR (MarketsandMarkets, 2025). API-first architecture is table stakes for that market — and Commerce Cloud delivers.
OCC APIs (Omni Commerce Connect) expose all commerce functionality through RESTful endpoints: products, categories, carts, checkout, orders, customers, search, CMS content. The Composable Storefront communicates exclusively through these APIs — which proves they’re comprehensive enough to run a full storefront.
What makes the API layer strong:
- Comprehensive coverage of commerce operations
- Extensible — you can add custom endpoints through your own extensions
- Well-documented with Swagger/OpenAPI specifications
- Supports OAuth 2.0 authentication
- Enables headless commerce with any frontend technology
Limitations: Some administrative and configuration operations still require the Backoffice UI rather than APIs. The API surface is commerce-focused — content management and system administration are less complete via API.
How Cloud-Native Is the “C”?
Cloud infrastructure spending is forecast to reach $271.5 billion in 2025 — a 33.3% year-over-year increase (IDC, 2025). Commerce Cloud runs on this infrastructure, managed by SAP.
What you get:
- SAP-managed Azure infrastructure
- Automatic horizontal scaling based on traffic patterns
- Built-in CDN for static assets and media
- 99.95% SLA availability
- Blue-green deployments for zero-downtime updates
- Automated security patching
What makes it cloud-native:
- You deploy through the Cloud Portal, not through SSH or FTP
- Environments (dev, staging, production) are independently provisioned
- Build artifacts are immutable — you deploy the same artifact across environments
- Logs, metrics, and alerts are accessible through the Cloud Portal
The gap: You don’t have full control over infrastructure configuration. You can’t choose your database engine, customise JVM parameters beyond SAP’s allowed range, or run workloads in specific regions not offered by SAP. For most commerce workloads, these limitations don’t matter. For edge cases, they might.
How Headless Is the “H”?
Gartner has named SAP a Leader in the Magic Quadrant for Digital Commerce for 11 consecutive years (SAP News, 2025). The headless architecture — decoupling the storefront from the backend — is a key reason why.
The Composable Storefront (formerly Spartacus) is SAP’s Angular-based headless frontend. It communicates with Commerce Cloud exclusively through OCC APIs. The storefront and backend are independently deployable — you can update the Angular frontend without touching the Java backend.
What headless enables:
- Build any frontend with any framework (Angular, React, Vue, Next.js)
- Serve content to mobile apps, kiosks, IoT devices, and partner portals through the same APIs
- Deploy storefront updates independently of backend releases
- Progressive Web App (PWA) capabilities with server-side rendering (SSR)
CMS still works: Even in headless mode, Commerce Cloud’s SmartEdit CMS manages page composition. Content managers create pages, slots, and components through SmartEdit, and the Composable Storefront renders them dynamically. Marketing teams change page layouts without developer involvement.
Should You Go Full MACH?
Not necessarily. MACH is a set of principles, not a religion. The right question is: which MACH principles solve your specific problems?
API-first and Headless are almost always worth pursuing. They give you frontend flexibility and future-proof your integration strategy.
Cloud-native is increasingly non-optional. SAP’s End of Mainstream Maintenance for on-premise Commerce Cloud means cloud is the only path forward.
Microservices is where pragmatism matters most. Commerce Cloud’s monolithic backend works well for most implementations. If you need true microservices — independent deployment, polyglot persistence, circuit breakers — build those services on SAP BTP alongside Commerce Cloud rather than trying to decompose the platform itself.
For a broader look at composable commerce strategy beyond MACH, see our composable commerce guide.
FAQ
Is SAP Commerce Cloud MACH-certified?
No. SAP Commerce Cloud is not certified by the MACH Alliance. The platform implements MACH principles — especially API-first, cloud-native, and headless — but its monolithic Java backend doesn’t fully satisfy the microservices criterion. SAP’s approach is pragmatic: use a proven monolithic core with the option to extend through microservices on BTP.
What’s the difference between MACH and composable commerce?
MACH describes the technical architecture (Microservices, API-first, Cloud-native, Headless). Composable commerce describes the business strategy — choosing best-of-breed components and assembling them into a commerce platform. You can be composable without being fully MACH, and you can be MACH without being composable. Commerce Cloud supports composable approaches through its extension mechanism and API layer.
Can I build a non-Angular frontend with Commerce Cloud?
Yes. The OCC APIs are technology-agnostic REST endpoints. While SAP’s Composable Storefront is Angular-based, you can build with React, Vue, Next.js, Svelte, or any framework that consumes REST APIs. You lose SAP’s pre-built storefront components but gain full frontend control.
How does MACH architecture affect performance?
Done right, it improves performance. Headless architecture enables server-side rendering and edge caching for the storefront. API-first means you can cache API responses at the CDN level. Cloud-native gives you auto-scaling. The main performance risk is over-decomposition — too many microservices calling each other creates latency overhead that a well-tuned monolith avoids.
What’s the cost of implementing MACH with Commerce Cloud?
The platform cost doesn’t change — Commerce Cloud licensing is based on GMV regardless of architecture. The implementation cost increases if you build custom microservices on BTP or replace SAP’s standard storefront with a custom frontend. For most implementations, using Commerce Cloud’s standard capabilities with the Composable Storefront is more cost-effective than a full custom MACH stack.
Solutions for E-Commerce
See how SAP Commerce Cloud can work for your business.
Related Articles

Headless vs Composable Commerce: What's the Difference and Which Do You Need?
Headless and composable commerce aren't the same thing — but they're often confused. Here's what each actually means and how SAP Commerce Cloud supports both.

SAP Composable Storefront: Pros, Cons, and When You Actually Need It
The Composable Storefront isn't automatic — it requires Angular expertise, changes your team structure, and adds frontend complexity. Here's when it's worth it.

Accelerator to Composable Storefront: A Practical Migration Guide
Migrating from Accelerator to the Composable Storefront is the biggest frontend change in Commerce Cloud history. Here's the step-by-step process.