Log in

← Documentation

Order status

Quick reference for how order statuses work and which changes you can make in the Orders screen. If you try an invalid change, you’ll see an error like β€œInvalid status transition from X to Y”.


What each status means

  • PENDING πŸ“‹ β€” Order just placed; not confirmed yet.
  • CONFIRMED βœ“ β€” Order has been confirmed.
  • PROCESSING πŸ“¦ β€” Order is being prepared or packed.
  • SHIPPED 🚚 β€” Order has been shipped.
  • DELIVERED βœ… β€” Order has been delivered. (Final state.)
  • CANCELLED ❌ β€” Order was cancelled. (Final state.)

You can cancel an order from PENDING, CONFIRMED, PROCESSING, or SHIPPED. Once an order is DELIVERED or CANCELLED, you can’t change it to anything else.


Normal flow πŸ“ˆ

Typical path an order follows:

PENDING β†’ CONFIRMED β†’ PROCESSING β†’ SHIPPED β†’ DELIVERED

You can also move forward in bigger steps (e.g. PENDING β†’ SHIPPED) when it makes sense. Staying on the same status (e.g. PENDING β†’ PENDING) is always allowed.


Allowed changes (valid transitions) βœ“

From any status you can keep it the same. From the statuses below you can also move to the ones listed.

  • PENDING β†’ CONFIRMED, PROCESSING, SHIPPED, or CANCELLED
  • CONFIRMED β†’ PROCESSING, SHIPPED, or CANCELLED
  • PROCESSING β†’ SHIPPED or CANCELLED
  • SHIPPED β†’ DELIVERED or CANCELLED
  • DELIVERED β†’ no further changes 🏁
  • CANCELLED β†’ no further changes 🏁

Disallowed changes (invalid transitions) ⚠️

These changes will show an error if you try them:

  • PENDING β€” Cannot jump straight to DELIVERED.
  • CONFIRMED β€” Cannot go back to PENDING or jump to DELIVERED.
  • PROCESSING β€” Cannot go back to PENDING or CONFIRMED, or jump to DELIVERED.
  • SHIPPED β€” Cannot go back to PENDING, CONFIRMED, or PROCESSING.
  • DELIVERED β€” Cannot change to any other status (terminal).
  • CANCELLED β€” Cannot change to any other status (terminal).

Once an order is DELIVERED or CANCELLED, the only β€œtransition” allowed is leaving it as-is.