OrderStatus
Order status, representing current state of order in its lifecycle. When transitioning the order status, the status must always advance further in the lifecycle. All other transitions are invalid. |Status |Description | |---------|----------------------------------------------------------------------------| |CREATED |Order has been created. | |PRICED |Order has been priced. The POS has provided price information for the order.| |COMMITTED|Order has been committed. The POS has accepted the order. | |PREPARING|Order is being prepared in the restaurant | |PREPARED |Order has been prepared and is ready for pickup or delivery. | |DONE |Order is done. This is the final state for a successful order. | |CANCELED |Order has been cancelled. | |ERROR |Error with the order. Customer should be notified and refunded. |