Skip to content
MACH Architecture in SAP Commerce Cloud: What It Means in Practice
Insights · ·7 min read

MACH Architecture in SAP Commerce Cloud: What It Means in Practice

Andreas Granzer

Andreas Granzer

SAP Commerce & AI Architect, Spadoom AG

Share

MACH architecture. Microservices, API-first, Cloud-native, Headless. Sounds crisp on a slide deck. I’ve sat through dozens of presentations where someone draws four boxes and acts like that’s an architecture decision. It’s not. There’s a gap between the marketing pitch and how these principles actually apply to SAP Commerce Cloud.

Commerce Cloud isn’t a pure MACH platform. It’s a hybrid. Some principles are native, others come through extension. Knowing where the line falls saves you from making architecture decisions based on vendor slides.

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?

91% of companies increased their composable/MACH investment in the past year. 90% report ROI that met or exceeded expectations, a 7% increase year-over-year. Survey of 561 IT decision makers at director level or above from enterprises with 5,000+ employees (MACH Alliance, 2025).

MACH is four 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, managed services
  • Headless — frontend decoupled from backend, communicating only through APIs

Here’s what matters: these aren’t all-or-nothing. A platform can be solid on some and weaker on others. The specific mix matters far more than whether someone slaps a “MACH-certified” badge on it.

How Does Commerce Cloud Handle the “M” — Microservices?

38% of retail companies 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 mean pure microservices.

Let me be straight about this: Commerce Cloud’s backend is a monolithic Java application. Cart, checkout, pricing, search, order management. All running in the same JVM process. You don’t deploy individual services independently. You deploy the entire platform as a unit.

Where microservices do appear:

  • SAP BTP extensions — build custom microservices on Kyma runtime or 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, not as a Commerce Cloud extension
  • Third-party integrations — payment, tax, search, personalisation services run as independent microservices that Commerce Cloud calls

The practical upshot: you don’t get independent deployment of commerce modules. But you get extensibility through external microservices. For most implementations, that’s enough. I’ve seen a handful of projects where the monolith was genuinely limiting, and the answer was always the same: build the specific thing you need on BTP alongside Commerce Cloud.

SAP Commerce Cloud: MACH AlignmentMicroservicesHybrid (monolith + BTP)API-firstStrong (OCC APIs)Cloud-nativeStrong (managed)HeadlessStrong (Composable)ComposableStrong (extensions)
Commerce Cloud is strongest on API-first, Cloud-native, and Headless — the "M" (Microservices) is the one area where it's a hybrid rather than pure implementation.

How Strong Is the “A” — API-First?

The e-commerce platform market is projected to reach $16.5 billion by 2030, up from $10.5 billion in 2025, at 12.7% CAGR (MarketsandMarkets, 2025). API-first is table stakes for that market, and this is where Commerce Cloud genuinely shines.

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 is the best proof they’re comprehensive enough to run a full store.

We’ve built custom React storefronts, mobile apps, and kiosk applications against the OCC layer without hitting major walls. What makes it solid:

  • Comprehensive coverage of commerce operations
  • Extensible: add custom endpoints through your own extensions
  • Well-documented with Swagger/OpenAPI specs
  • OAuth 2.0 authentication
  • Enables headless commerce with any frontend technology

One caveat: some admin and configuration operations still need the Backoffice UI. The API surface is commerce-focused, so content management and system admin 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 is a proper managed platform:

  • 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

It genuinely feels cloud-native in practice: deploy through the Cloud Portal (no SSH, no FTP), environments are independently provisioned, build artifacts are immutable, logs and metrics live in the portal.

The gap: you don’t have full infrastructure control. Can’t pick your database engine, tweak JVM parameters beyond SAP’s allowed range, or run workloads in specific regions SAP doesn’t offer. For most commerce workloads, irrelevant. For edge cases, it might sting.

How Headless Is the “H”?

Gartner named SAP a Leader in the Magic Quadrant for Digital Commerce for 11 consecutive years (SAP News, 2025). The headless architecture is a key reason.

The Composable Storefront (formerly Spartacus) is SAP’s Angular-based headless frontend. Talks to Commerce Cloud exclusively through OCC APIs. Storefront and backend deploy independently. You push an Angular update 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, partner portals through the same APIs
  • Deploy storefront updates independently of backend releases
  • Progressive Web App (PWA) capabilities with server-side rendering (SSR)

Something that often gets overlooked: even in headless mode, Commerce Cloud’s SmartEdit CMS still manages page composition. Content managers create pages, slots, and components through SmartEdit. The Composable Storefront renders them dynamically. Marketing teams change page layouts without a developer. That’s a neat separation of concerns that keeps everyone happy.

Should You Go Full MACH?

Not necessarily. MACH is a set of principles, not a religion. The right question: which of these principles solve your specific problems?

API-first and Headless are almost always worth pursuing. Frontend flexibility and future-proof integration strategy.

Cloud-native is de facto non-optional now. 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 on BTP alongside Commerce Cloud. Don’t try to decompose the platform itself. That way lies pain.

For a broader look at composable commerce strategy beyond MACH, see our composable commerce guide.

FAQ

Is SAP Commerce Cloud MACH-certified?

No. It implements MACH principles well on three of four axes (API-first, cloud-native, headless), but the monolithic Java backend doesn’t satisfy the microservices criterion. SAP’s approach is pragmatic: 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. 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 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?

Absolutely. The OCC APIs are technology-agnostic REST endpoints. While SAP’s Composable Storefront is Angular, you can build with React, Vue, Next.js, Svelte, or anything that consumes REST APIs. You lose SAP’s pre-built storefront components but gain full frontend control. We’ve done this on several projects and it works well.

How does MACH architecture affect performance?

Done right, it improves performance. Headless enables server-side rendering and edge caching. API-first means CDN-level caching of API responses. Cloud-native gives you auto-scaling. The main 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. Implementation cost increases if you build custom microservices on BTP or replace the standard storefront with a custom frontend. For most implementations, using Commerce Cloud’s standard capabilities with the Composable Storefront is more cost-effective than going full custom MACH.

MACH ArchitectureSAP Commerce CloudHeadless CommerceAPI-FirstCloud-Native
Next step

Solutions for E-Commerce

See how SAP Commerce Cloud can work for your business.

Related Articles

Ask an Expert