occ-headless-frontend
Headless storefront on SAP Commerce OCC (no Spartacus)
OCC is the REST API of SAP Commerce Cloud, served under /occ/v2. This skill covers the frontend
side:
- calling OCC correctly from Angular, React / Next.js or Vue / Nuxt;
- where tokens and cart ids live;
- the SAP-specific behaviour that breaks ordinary REST assumptions.
Backend work (Java controllers, WsDTOs, ImpEx, extensions) belongs to a backend skill. Customizing Spartacus / Composable Storefront belongs to SAP's own Spartacus skill.
It targets SAP Commerce Cloud 2211-jdk21, the September 2025 framework update and later. JDK17
releases can no longer be built. Their OAuth differs, see references/auth.md → Old patterns.
The facts in these references were checked against SAP Help, the official OCC OpenAPI spec,
Spartacus' source and a running 2211-jdk21 instance. Use them directly instead of researching them
again. Spend research time on what they don't cover, and on this project's own backend: its
/occ/v2/api-docs and its configuration.