b2c-ordering

Official

Orchestrate B2C orders end-to-end.

AuthorSalesforceCommerceCloud
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies implementing and managing the B2C order lifecycle by guiding developers on creating, placing, and updating orders using the SFCC OrderMgr API.

Core Features & Use Cases

  • Order creation from basket with auto-generated or custom numbers using OrderMgr.createOrder and related APIs.
  • Order lifecycle management: transition statuses (CREATED → NEW → OPEN → COMPLETED/CANCELLED/FAILED) with transactional safety.
  • Place and confirm an order after payment authorization, and handle failures with failOrder(order, true) to reopen the basket for retry.
  • SCAPI/headless patterns: support creating orders before payment and subsequent placement/updating via Script API.
  • Use cases: convert a checkout basket into an order, manage retries after payment failures, and query or update orders programmatically.

Quick Start

Use this skill to create an order from a basket, then place it after payment authorization, and reopen the basket if the payment fails.

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

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.