ce-orders

Manage order lifecycle operations including creation, payments, cancellations, and refunds via SDK.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/commercengine/skills --skill ce-orders
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-orders
Source: https://github.com/commercengine/skills/tree/main/skills/orders
Command: npx skills add https://github.com/commercengine/skills --skill ce-orders

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Order management across lifecycle (creation, listing, tracking, payments, cancellation, refunds) in Commerce Engine, centralizing workflows that previously required manual coordination.

Core Features & Use Cases

  • Create orders from carts with associated payment handling and status tracking.
  • List and detail orders, shipments, and payments, plus monitor refunds and cancellations.
  • Admin-guided returns/refunds and status visibility for storefront and backend portals.

Quick Start

Initialize an order workflow by creating an order from a cart using the SDK to trigger the end-to-end lifecycle.

Frequently Asked Questions about ce-orders

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage the end-to-end order lifecycle for Commerce Engine?

End-to-end order lifecycle management for Commerce Engine is handled by centralizing creation, listing, tracking, payments, cancellations, and refunds into a single SDK-based workflow.

Can I retry failed payments and process refunds through the Commerce Engine SDK?

Yes, payment retries and refunds are supported through the SDK. You can call retryOrderPayment to attempt failed transactions again and listOrderRefunds to monitor return coordination.

What's the best way to create orders from carts in an e-commerce storefront?

Creating orders from carts in an e-commerce storefront uses the createOrder SDK method, which triggers the end-to-end lifecycle and handles associated payment processing and status tracking.

Does order management support shipment tracking and admin-guided returns?

Order management supports shipment tracking via listOrderShipments and admin-guided returns through listOrderRefunds. Both storefront and backend portal contexts receive clear status mappings and error handling.

How do I list and track order details, payments, and shipments using the SDK?

You list and track order details, payments, and shipments using the listOrders, getOrderDetails, listOrderPayments, and listOrderShipments SDK methods, which provide clear status mappings across workflows.

Why do I need centralized order management for my e-commerce workflows?

Centralized order management solves the problem of manual coordination across e-commerce workflows. It unifies cart checkout, order history, payment status, and cancellation handling for both storefront and admin contexts.