Agent Skills: b2c-custom-api-development

Develop Custom SCAPI REST endpoints with api.json routes, schema.yaml definitions, and OAuth scope configuration. Use this skill whenever the user needs to create a custom API on the Commerce platform, define OpenAPI 3.0 schemas for request/response, structure the rest-apis cartridge folder, or debug endpoint registration and 404 issues. Also use when building headless commerce integrations, choosing between Shopper (`ShopperToken`) and Admin (`AmOAuth2`) APIs, or troubleshooting why a Custom API endpoint isn't appearing or returning 404 in `b2c scapi custom status` — even if they just say 'custom REST endpoint', 'expose my script as an API', or 'my admin custom API isn't registering'.

ID: salesforcecommercecloud/b2c-developer-tooling/b2c-custom-api-development

Install this agent skill to your local

npx skills add salesforcecommercecloud/b2c-developer-tooling --skill b2c-custom-api-development

Skill Files

The files that make up b2c-custom-api-development.

Download Skill

More agent skills