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'.
Pinned to revision bee72c26e342, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/b2c-custom-api-development/SKILL.md
- skills/b2c-custom-api-development/evals/trigger-evals.json
- skills/b2c-custom-api-development/references/CONTRACT.md
- skills/b2c-custom-api-development/references/IMPLEMENTATION.md
- skills/b2c-custom-api-development/references/TESTING.md
Every link opens the file at its source, pinned to the revision this page describes.