Learn how to use OCAPI to manage data and processes in Salesforce B2C Commerce. Straight to the point, with real examples.
English
Advanced
4 hours
This course is a complete and practical introduction to working with OCAPI (Open Commerce API) in Salesforce B2C Commerce. You'll start by understanding the differences between OCAPI and SCAPI, then move step-by-step through everything you need to build and integrate a headless storefront using OCAPI.
From setting up API access and authentication, to making requests with the Shop API and managing data with the Data API, you’ll learn how each part fits together. You’ll also explore the Meta API, and get hands-on with OCAPI Hooks and the Session Bridge to customize API behavior and manage user sessions across systems.
In the final sections, we dive into more advanced topics like caching, CORS, job execution (Global and System Jobs), pagination, localization, and FLASH properties that determine when a basket is ready to become an order.
The course balances theory with hands-on practice, and includes all source code so you can follow along and apply what you learn.
This isn’t about memorizing definitions. It’s about building real-world skills and understanding how OCAPI works in practice. If you’ve felt that OCAPI is hard to navigate or poorly documented, this course is your shortcut to clarity and confidence. You are not expected to figure it all out on your own.