Skip to main content

API Reference

The REST contracts (OpenAPI 3.0) of the six storefront context services and of storefront-bff, the only storefront edge. Each file under storefront/apis/<repo>/openapi.yaml is a copy of the service repo's apis/openapi.yaml on develop (refreshed 2026-10-27) and is linted here with Spectral (storefront/.spectral.yaml, warn-clean). All seven services are built on develop, not deployed: none has an entry in warehouse-infra's terraform/apps.yaml yet.

Shared conventions, as the specs state them: errors are RFC 9457 problem details (application/problem+json); every write accepts an Idempotency-Key header (product-discovery is read-only); one configured currency with integer minor units; no authentication.

ServiceContractSource
pricingPricing APIapis/openapi.yaml
product-contentProduct Content APIapis/openapi.yaml
product-discoveryProduct Discovery APIapis/openapi.yaml
shopping-cartShopping Cart APIapis/openapi.yaml
checkoutCheckout APIapis/openapi.yaml
customer-paymentsCustomer Payments APIapis/openapi.yaml
storefront-bff (edge)Storefront BFF APIapis/openapi.yaml

The customer-payments spec dropped its design-time "(proposed)" title and version on 2026-10-27 (customer-payments#6), so its generated page is at the plain slug.

The event contracts (apis/asyncapi.yaml in each context repo) are not rendered here: the section's events live in the model and on each context's Domain Events page. payment-provider-simulator has its own REST contract in its repo; it stands in for an external provider and is not a storefront API, see Edge and supporting components.

The network contracts the storefront consumes (only the OHS storefront routes) are under network/api-reference.