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.