OCAPI (Open Commerce API) – Definition
Open Commerce API - Salesforce Commerce Cloud's REST-based API that enables integration with external systems and custom applications.
OCAPI provides programmatic access to Commerce Cloud functionality including product catalogs, customer data, orders, and content. It enables developers to build custom integrations and extend platform capabilities. OCAPI is organized into two distinct API groups: the Shop API, used by storefront-facing applications like custom checkout flows or PWA frontends, and the Data API, used for administrative and integration purposes like syncing product data or managing content from external systems. Salesforce has been progressively transitioning newer functionality toward SCAPI (Salesforce Commerce API), a more modern, fully REST-compliant successor built with composable and headless architectures in mind — so while OCAPI remains widely used and supported, new integration projects increasingly evaluate whether SCAPI better fits their needs. For content-specific integrations, understanding which API family a third-party CMS or tool actually uses matters in practice: a system built against OCAPI's older conventions may need updates as Salesforce continues investing primarily in SCAPI going forward.