What statuses can an order have in a delivery app?
Usually it is a chain: created, paid, accepted, being packed, handed to the courier, on the way, delivered, plus branches for cancelled and could not deliver. For each status it is decided in advance who can change it, what happens to the money and whether the customer is notified. The status model is described before development, since the whole system rests on it.
More in the guide to delivery app development.