The Grand Order State Machine
Understanding the order state machine is the single most important skill for QA and Customer Support. Every order follows strict transition rules. An order cannot jump arbitrarily between statuses.
1. Complete Business State Diagram
2. Order Status Matrix: Meaning, UI Badge & Inventory Effect
| Status | What it Means in Plain English | UI Badge in Admin | Physical Stock Effect | Reserved Stock Effect | Allowed Actions |
|---|---|---|---|---|---|
DRAFT | Order being drafted manually by phone or B2B sales agent. Not yet live. | Gray Draft | Unchanged | 0 | Edit items, Add customer, Finalize |
PENDING | Order received from Shopify/Amazon. Awaiting auto-confirm or manual validation. | Yellow Pending | Unchanged | +Reserved (if blockOversell=true) | Confirm, Put on Hold, Cancel, Edit Address |
ON_HOLD | Order frozen due to risk check, unverified address, or lack of stock. | Red On Hold | Unchanged | Maintained or Released | Clear Hold, Edit Address, Cancel |
CONFIRMED | Validated order ready for warehouse fulfillment. | Blue Confirmed | Unchanged | +Reserved | Change Warehouse, Cancel, Priority Bump |
PROCESSING | Order sent to warehouse floor; included in candidate fulfillment pool. | Indigo Processing | Unchanged | +Reserved | Generate Pick Wave, Hold |
PICKING | Warehouse picker has physically added item to a pick cart/tote. | Purple Picking | Unchanged | +Reserved | Complete Pick, Mark Shortage |
PACKED | Items scanned, boxed, and sealed at packing station. | Orange Packed | Unchanged | +Reserved | Generate Shipping Label, Unpack |
MANIFESTED | Shipping label (AWB) generated and parcel added to courier manifest. | Teal Manifested | -Physical | -Reserved | Courier Handover Scan, Void Label |
SHIPPED | Courier truck has left the warehouse dock. In transit to customer. | Navy Shipped | Deducted | 0 | Track Courier, Trigger NDR |
DELIVERED | Buyer received parcel. Order complete. | Green Delivered | Deducted | 0 | Initiate RMA / Return |
CANCELLED | Order terminated. | Slate Cancelled | Unchanged | Released (-Reserved) | None (Terminal state) |
RTO_IN_TRANSIT | Delivery failed after courier attempts; traveling back to warehouse. | Rose RTO In-Transit | Deducted | 0 | Track Return AWB |
RTO_DELIVERED | Returned package arrived at warehouse receiving bay. | Fuchsia RTO Delivered | Deducted | 0 | Perform QC Inspection |
3. Critical Business Rules for QA & Support
- The Cancellation Boundary:
- Orders in
PENDING,ON_HOLD, orCONFIRMEDcan be cancelled with one click. - If an order is already
MANIFESTEDorSHIPPED, direct cancellation is blocked. Support must instruct the warehouse to physically stop the parcel or contact courier dispatch to issue a delivery abort.
- Orders in
- Channel Status Push:
- When an order reaches
SHIPPEDin PointNXT, the courier name and tracking number are instantly pushed back to Shopify/Amazon, triggering the marketplace customer shipping email.
- When an order reaches
- Inventory Release on Cancellation:
- Whenever an order transitions to
CANCELLED, PointNXT releases any reserved stock immediately. The central inventory engine then recalculates available stock and pushes the new higher quantity to all other sales channels.
- Whenever an order transitions to
4. End-to-End Order-to-Cash Sequence Diagram
The following sequence diagram illustrates the complete chronological path of an order across systems, from initial customer checkout to final delivery: