sfcc-scapi-hooks

Community

Build robust SCAPI hooks for SFCC.

Authortaurgis
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide explains how to implement and register Salesforce B2C Commerce SCAPI hooks to extend Shopper APIs, enforce validation, and standardize hook workflows across cartridges.

Core Features & Use Cases

  • Hook types and execution order (before, after, modifyResponse) with transactional semantics for safety.
  • Registration and wiring: package.json and hooks.json, plus recommended cartridge structure.
  • CommonJS-based hook patterns, error handling, and inter-hook data sharing across hooks.
  • SCAPI vs OCAPI considerations and resilience patterns for production readiness.

Quick Start

Review this guide to implement and register SCAPI hooks in your SFCC cartridge.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sfcc-scapi-hooks
Download link: https://github.com/taurgis/sfcc-dev-mcp/archive/main.zip#sfcc-scapi-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.