Preface
This book takes a B2C Commerce developer who already knows pipelines, SiteGenesis and SFRA to the platform as it stands in October 2026: the Salesforce Commerce API (SCAPI), Storefront Next, the B2C CLI, Agentforce Commerce and Data 360. It is written for one reader and taught chapter by chapter, with a lab on a real sandbox in every chapter.
The platform changed more between 2025 and 2026 than in the previous five years. Salesforce made Storefront Next its recommended storefront, deprecated OCAPI, replaced sfcc-ci with a new CLI, and put AI agents in front of shoppers and merchants. None of this removes what you know. The instance, the Script API and cartridges remain at the centre; the book shows exactly where the new parts attach to them.
Who this book is for
- Strong in B2C Commerce back-end work: cartridges, controllers, pipelines, ISML, Script API, Business Manager, jobs, OCAPI.
- New to modern front-end work: React, TypeScript, Tailwind and React Router are taught from the ground up in Part D, before Storefront Next needs them.
- Has an on-demand sandbox and Account Manager access, so labs run on real instances.
Scope
| In scope | Out of scope |
|---|---|
| B2C Commerce platform changes from SFRA to October 2026; the B2C CLI and CI/CD; SCAPI and SLAS; TypeScript, React, Tailwind and React Router; Storefront Next; hybrid migration; AI-assisted development; the Shopper Agent; Data 360 as it applies to commerce. | B2B Commerce; Salesforce Order Management internals; Marketing Cloud beyond the commerce consents and notifications in Chapter 27; a full PWA Kit course (PWA Kit is taught only to reading level, for migrations). |
Learning objectives for the whole book
- Explain the current B2C Commerce products, storefront options and API layers, and choose between them for a client.
- Run routine instance work through the B2C CLI and GitHub Actions instead of
sfcc-ciand Business Manager clicks. - Call any SCAPI shopper flow with correct SLAS authentication, and build a custom SCAPI endpoint.
- Read and write React 19 and TypeScript with Tailwind, and explain React Router 7 loaders, actions and server rendering.
- Provision, customise, deploy and operate a Storefront Next storefront on Managed Runtime.
- Plan and run a hybrid migration from SFRA or SiteGenesis to Storefront Next.
- Use coding agents, the B2C agent skills and the MCP server safely.
- Set up the Shopper Agent end to end and add a custom agent action.
- Connect B2C Commerce to Data 360 and explain how it feeds personalisation.