Salesforce B2C Ordering & Lifecycle Management

•
22
•

Manages the complete order lifecycle in Salesforce B2C Commerce using the OrderMgr API, covering creation, status transitions, and advanced querying.

This skill provides comprehensive guidance for developers working with the Salesforce B2C Commerce OrderMgr API to implement robust checkout and order processing logic. It streamlines the development of checkout flows by providing standardized patterns for synchronous and asynchronous order creation, sophisticated error handling—such as reopening baskets upon payment failure—and complex order querying. Whether building headless architectures using SCAPI or traditional SFRA controllers, this skill ensures that best practices for transaction management and order state consistency are strictly followed.

Key Features

01Comprehensive order lifecycle management from CREATED to COMPLETED statuses
0222 GitHub stars
03Advanced order searching and querying by status, date range, or customer attributes
04Intelligent error handling with fail-and-reopen basket capabilities for checkout retries
05Standard synchronous and SCAPI-optimized asynchronous order creation patterns
06Custom order number generation implementation using system hooks

Use Cases

01Building administrative tools for order search, status updates, and cancellation workflows
02Implementing a secure checkout flow with payment authorization and order placement
03Developing headless commerce integrations using the SCAPI async order pattern