SCAPI Admin APIs
Build backend integrations or manage Commerce data through standard Admin APIs.
Use the b2c-scapi-shopper skill for storefront flows.
Tool choice
When B2C MCP is available:
- Prefer a dedicated task tool. Otherwise read
skill://mcp/b2c-mcp-scapi/SKILL.mdonce
through resources or skills_read, then use skillRead: true.
scapi_search: bundled standard contracts, offline. Find method/path/operationId,
then inspect selected parameters, fields, and security scopes. Return compact projections.
scapi_execute: supported Admin JSON operations with configured Account Manager
auth and automatic operation/tenant scopes. Use config_inspect with masking;
do not fetch or print tokens manually for these calls.
scapi_schemas_list: live tenant schemas, including custom attributes and APIs.
scapi_custom_apis_get_status: custom registration. Custom execution and binary
transfers are unsupported by code mode; use an appropriate integration client.
docs_search/docs_read: platform semantics, limits, and auth setup. No duplicate
docs lookup is needed merely to repeat a discovered contract.
For CLI/integration development: b2c scapi schemas list and
b2c scapi schemas get <family> <name> <version> retrieve live contracts.
Read integration examples only when implementing
an external client, token flow, or bulk import. There is no CLI code-mode equivalent.
Execute deliberately
- Use configured short code, tenant, and site values. Admin auth requires an
Account Manager client, API grants, and SALESFORCE_COMMERCE_API:<tenant_id>.
SLAS credentials do not replace Admin credentials.
- Inspect the operation before use; examples are illustrative. For tenant-specific
fields use live schemas. Check official docs for version-specific semantics.
- Distinguish creation from update; PUT may do both. Verify existence and intent,
then read back meaningful fields. Check earlier writes before retrying a failure.
- Page/filter at the API and return IDs, selected fields, totals/hasMore, and errors.
Do not emit whole response trees or log credentials.
- Safety is method-based: POST searches can require a targeted allow rule.
Confirmation-required code-mode requests stop; do not bypass them.
Conditional references
- OAuth scopes: integration grants; compare with the operation's security.
- Integration patterns: ETL, sync, bulk import.
b2c-configskill: CLI credentials and precedence.- Official docs:
commerce-api/authorization-for-admin-apis,commerce-api/auth-z-scope-catalog,
commerce-api/timeouts-limits, commerce-api/throttle-rates,
commerce-api/inventory-impex-best-practices.