B2C Custom Api Development

🌐Community
by salesforcecommercecloud · vlatest · Repository

Provides API guidance and assistance for agent workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add b2c-custom-api-development npx -- -y @trustedskills/b2c-custom-api-development
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "b2c-custom-api-development": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/b2c-custom-api-development"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to interact with Salesforce B2C Commerce custom APIs, allowing for the retrieval and manipulation of data outside standard storefront capabilities. It bridges the gap between automated agent workflows and proprietary backend systems by executing specific API calls on behalf of the user.

When to use it

  • Automating inventory checks or order status updates that require direct database access.
  • Fetching real-time customer profile details not exposed through public web interfaces.
  • Triggering internal business logic, such as applying custom discounts or updating loyalty points.
  • Integrating external services with Salesforce Commerce Cloud backends via secure API endpoints.

Key capabilities

  • Executes authenticated requests against custom B2C Commerce APIs.
  • Handles JSON payloads and responses for complex data structures.
  • Manages session tokens and authentication headers required for backend access.
  • Supports both GET, POST, PUT, and DELETE operations depending on API design.

Example prompts

  • "Retrieve the latest stock levels for product SKU-12345 using the custom inventory API."
  • "Update customer John Doe's loyalty points to 500 via the rewards management endpoint."
  • "Fetch all active promotional codes associated with region US-EAST and list their expiration dates."

Tips & gotchas

Ensure your AI agent has valid authentication credentials (API keys or OAuth tokens) before attempting to execute requests, as unauthorized access will be blocked. Always verify that the target API endpoints are documented and accessible from the environment where the agent is running.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
salesforcecommercecloud
Installs
34

🌐 Community

Passed automated security scans.