Storefront API

What is a Storefront API?

A Storefront API is the public, customer-facing API surface of a commerce platform, designed for use by storefront frontends, mobile apps, kiosks, and other shopper-facing clients. It exposes catalog, cart, checkout, customer, and order operations through endpoints optimized for read-heavy, low-latency access.

Definition

Storefront APIs differ from admin or back-office APIs in their scope and security model. They are tailored for anonymous or shopper-authenticated traffic, return data in shapes useful to UI rendering, and protect sensitive operations behind appropriate scopes. Many commerce platforms ship both REST and GraphQL flavors of their storefront API.

Why it matters

The storefront API is the contract between the commerce engine and any frontend that wants to present its data. A clean, well-versioned API lets multiple frontends evolve in parallel without dragging the backend, supports composable architectures, and enables third parties such as agents and embedded experiences to interact with the catalog and checkout safely.

Design considerations

Good storefront APIs are documented thoroughly, versioned, performant under load, and explicit about caching behavior. They support localization, currency, and channel context per request. In composable storefronts, the storefront API is often fronted by a BFF that combines it with content, search, and personalization data, so the frontend sees one coherent interface rather than many disjoint services.

Explore Composable Digital Experience Platform · Composable Headless Frontend.

Frontend Insights