Skip to content
arch-lab
Live
Demo
Syntax
Validate
MCP
Beta
An order, from checkout to the doormat
One order, the states it passes through, and the two ways it can leave the track
Open in the playground
Order
One customer order. Everything below is somewhere this one thing can BE,
never something somebody does to it.
Cancelled
the customer changes their mind before
paying, or the basket expires
The commonest way an order leaves, and
the cheapest: nothing has moved yet.
Placed
Checkout finished. Nothing has been charged and no stock is held.
Refunded
the payment is disputed, or the
customer cancels before anything is
picked
Paid
Payment captured, stock reserved. From here a departure costs somebody
something.
Packed
Picked, boxed and labelled, waiting on the carrier.
Returned
the parcel comes back unopened —
refused at the door, or nobody in
after three attempts
Back to Packed rather than to Paid:
the stock is intact and the box needs
only a new label.
Shipped
Delivered
Signed for, or left where the customer asked. The order stops here.