b2c-custom-objects

Official

Store and manage B2C custom data with Script and OCAPI.

AuthorSalesforceCommerceCloud
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to store and manage domain-specific data within Salesforce Commerce Cloud B2C, providing a centralized approach to persist custom information, configurations, and business entities across sites and global scopes.

Core Features & Use Cases

  • CRUD with Script API: Use CustomObjectMgr to create, read, update, and delete custom objects.
  • OCAPI Data Access: Expose and manage custom objects via OCAPI for external integrations (site-scoped and global).
  • Shopper Custom Objects (SCAPI): Read-only access to custom data from storefronts where appropriate.
  • Usage Patterns: Store site-specific configurations, integration caches, or business-entity data (e.g., loyalty or vendor data) and query across objects.

Quick Start

Create a site-scoped custom object type like SiteConfig with a key such as "myConfigKey" and read it from a script.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: b2c-custom-objects
Download link: https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/archive/main.zip#b2c-custom-objects

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.