b2c-scapi-custom

Check Custom SCAPI endpoint registrations in B2C Commerce using the b2c CLI.

51|16|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-scapi-custom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: b2c-scapi-custom
Source: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/tree/main/skills/b2c-cli/skills/b2c-scapi-custom
Command: npx skills add https://github.com/SalesforceCommerceCloud/b2c-developer-tooling --skill b2c-scapi-custom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers verify the registration and deployment status of Custom SCAPI endpoints in B2C Commerce, enabling quick diagnosis of missing or misconfigured APIs.

Core Features & Use Cases

  • Verify Custom SCAPI endpoint registrations for a tenant.
  • Debug and confirm activation of newly deployed custom APIs.
  • Guide on deriving tenant IDs and using the b2c CLI to query endpoint status.

Quick Start

Run the following command to check the status of Custom SCAPI endpoints: b2c scapi custom status --tenant-id zzxy_prd

Frequently Asked Questions about b2c-scapi-custom

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check the registration status of custom SCAPI endpoints in B2C Commerce?

To check custom SCAPI endpoint registration status, run the command `b2c scapi custom status --tenant-id` using the b2c CLI. This verifies deployment and activation across your B2C Commerce tenants.

Why does my custom SCAPI endpoint return a not found error after deployment?

A custom SCAPI endpoint not found error often indicates missing registration or activation. Use the b2c CLI to query the endpoint status and confirm the custom API is fully deployed for the specified tenant.

What environment variables do I need to configure SCAPI endpoints with the b2c CLI?

Configuring SCAPI endpoints with the b2c CLI requires the `SFCC_TENANT_ID` or `SFCC_SHORTCODE` environment variables. You must also provide the `--tenant-id` flag explicitly in your status check commands.

How do I find my tenant ID to verify SCAPI endpoint activation?

You can derive your tenant ID for SCAPI endpoint verification from your B2C Commerce environment configuration. The b2c CLI requires this tenant ID via the `--tenant-id` flag to accurately confirm API activation status.

Can I debug newly deployed custom APIs across multiple B2C Commerce tenants?

Yes, you can debug newly deployed custom APIs across tenants by running the b2c CLI status command with the specific `--tenant-id` for each environment to confirm endpoint registration and activation individually.