Skip to main content

iCommerce CLI Workflows

Use the CLI to execute safe, repeatable workflows with explicit write intent.

Order Fulfillment

  1. Inspect pending orders
  2. Confirm address and inventory
  3. Ship the order with tracking
stateset "show me pending orders"
stateset "show order #12345"
stateset --apply "ship order #12345 with tracking FEDEX123"

Returns Processing

  1. Find eligible returns
  2. Approve or reject
  3. Issue refund
stateset "list returns awaiting review"
stateset --apply "approve return RMA-1001"
stateset --apply "refund return RMA-1001 for $29.99"

Inventory Adjustment

stateset --apply "adjust inventory for sku WIDGET-001 by -5 at warehouse LA"