The following is a list of Order Statuses that depicts the various stages of the Order Lifecycle.
However, a subset of these statuses will be applicable for the order based on the Order Type.
| Status | Source | State | Description |
|---|---|---|---|
| REQUEST_RECEIVED | Tenant | Processing | A request has been received by DS and it is being processed. |
| PENDING_DISPATCH | DS | Processing | Order is saved or schedule for future. |
| PENDING_RELEASE | DS | Processing | Order is pending with DS and ready to be released to Provider. |
| PENDING_AUTORETRY | DS | Processing | Order wasn't dispatched successfully and is scheduled to be retried. |
| ESTIMATES_RECEIVED | DS | Processing | One or more estimates have been obtained for the request. |
| ESTIMATES_FAILED | DS | Terminal | No response or error received from Providers for the request. |
| ORDER_DISPATCHED | DS | Processing | Order has been placed by DS with the Providers. |
| STAGED | DS | Processing | Order has been staged by the runner by in the staging area. |
| ORDER_FAILED | DS | Terminal | Order could not be sent to carrier. |
| ORDER_ASSIGNED | Provider | Processing | Order has been assigned to a driver. |
| ORDER_UNASSIGNED | Provider | Processing | Order has been unassigned from driver. |
| PICKUP_STARTED | Provider | Processing | Pickup has been started. |
| PICKUP_COMPLETED | Provider | Processing | Pickup has been completed successfully. |
| IN_TRANSIT | Provider | Processing | Shipment is in-transit. |
| OUT_FOR_DELIVERY | Provider | Processing | Order is out for delivery. |
| ORDER_AT_LOCATION | Provider | Processing | Order has reached to alternate location. |
| ORDER_DELIVERED | Provider | Terminal | Order has been delivered successfully. |
| ORDER_DELAYED | Provider | Processing | Order has been delayed. |
| ORDER_REDELIVERY | Provider | Processing | Redelivery is being attempted. |
| ORDER_UNDELIVERABLE | Provider | Terminal | Providers was unable to deliver order to the customer. |
| ERROR_EXCEPTION | Provider | Terminal | Error or exception has occurred. |
| ORDER_CANCELLED | Tenant | Terminal | Order has been successfully canceled. |
Following are some Partial statuses only for Multi-Shipments Flow. Following statuses are deprecated.
| Status | Source | State | Description |
|---|---|---|---|
| PARTIAL_IN_TRANSIT | Provider | Processing | Order has some shipments which are in-transit. Applicable for parent orders. |
| PARTIAL_DELIVERED | Provider | Processing | Order has some shipments which are delivered. Applicable for parent orders. |
| PARTIAL_EXCEPTION | Provider | Processing | Order has some shipments for which error has occurred.Applicable for parent orders. |
| PARTIAL_CANCELLED | Provider | Processing | Order has some shipments which are cancelled. Applicable for parent orders. |
