Skip to main content
All CollectionsOrders
Order types and statuses
Order types and statuses
Updated this week

Order types

Each order that is created has a specific order type. The order type determines the workflow and the possible statuses of that order. Order types are assigned to services, and every order in Onro has a specific service.

The order type is provided in the service settings. Different order types are examined in Onro.

The following sections detail each of them:

On-demand

Use-case

In this scenario, when a driver receives an item from a pickup location and needs to deliver it immediately to a drop-off location, this order type should be utilized.

Pickup and drop-off locations are required for On-demand orders. Of course, a multi-dropoff order is also a possibility. Orders placed on demand can be scheduled.

For example, if an order is scheduled for 8 a.m. tomorrow, the driver must arrive at the pick-up location at 8:00 a.m. to pick up the package and then proceed to the drop-off location to deliver it to the recipient.

One driver is responsible for receiving and delivering the package in on-demand orders.

Restaurant food delivery, for example, is an on-demand order because the driver must deliver the food to the drop-off location.

Customers who place on-demand orders can chat and communicate with the driver while viewing its location on a map in real-time.

A vehicle type must be chosen before an on-demand order can be created.

The concept of a hub or warehouse is not present in the on-demand order type.

Statuses

Here is the successful workflow on an On-demand order type:

On-demand workflow has nine statuses:

  • Pending

  • Assigned

  • Started

  • Arrived

  • Picked up

  • Done

  • Customer canceled

  • Driver canceled

  • Support canceled

Pending

Orders can generally be made in four ways: by Dispatcher, Customer Application, Customer Panel, and Customer API. Regardless of how the order is created, its status will be pending at first. The pending status means that the order created by the customer was stored on the server and is waiting to be processed.

For an on-demand order, the process that needs to be done after creation (in the pending status) is to find the right drivers that meet the conditions for receiving and completing the order, and also to send it to them immediately. After the drivers receive the order, they can accept it or not.

Finding the right drivers for an on-demand order is done by an algorithm in which some of the parameters can be configured based on business strategies.

Assigned

When a driver accepts an order, the status of the order changes to Assigned. In this status, the search to find a new driver stops, and other order information, including customer information, is displayed to the driver. Driver information is also sent to the customer, and an order is formed between the customer and the driver.

Started

After the driver accepts the order, the order details are displayed for him/her. The customer also sees the driver's information, and they can communicate via chat, SMS, or phone call. When the driver wants to start the order, pressing the start button changes the status of the order to Started.

Arrived

When the driver reaches the pickup address, they can change the status of the order to Arrived. This status of the order can be used to inform the customer when the driver arrives.

Picked up

When the driver picks up, he can change the status of the order to Picked up. By changing the status to Picked up, it can be considered that the order is on the way to the drop-off address.

Done

Finally, after the order is completed, its status can be changed to Done. This status indicates that the order has been finished.

Customer canceled

When the customer cancels the order, the status of the order changes to Customer Canceled. In this status, the order has been stopped, and the customer is unwilling to continue the ordering process.

Driver canceled

If the driver cancels the order for any reason, the status of the order will be changed to Driver Canceled.

Support canceled

If the order is canceled by support for any reason, the status of the order will be changed to Support Canceled. Users of Admin Dashboard (depending on their permissions) and users of Dispatcher can change the status of orders to Support Canceled.

The status of an order may change from the time it is created and stored in the database until it reaches an endpoint status. When the status of an order reaches an endpoint, it is considered closed. Statuses that are considered endpoints are as follows: Unassigned, Customer Canceled, Driver Canceled, Support Canceled, and Done.

Workflow

  1. The customer sends an order through the Customer Application, Customer Panel, or Customer API to the server.

  2. The server receives the customer's order, sets its status to Pending, and stores it in the database.

  3. The server initiates the operation to find drivers. Drivers who are online and meet the conditions of the order are selected by the server to receive the order. The server sends the order information to the selected drivers. Here the dispatch algorithm comes in.

  4. The driver who accepts the order first is selected to complete the order. When the order is accepted by a driver, the status of the order is changed to Assigned.

  5. After the status of the order changes to Assigned, the driver can manually change the status to Arrived, Picked up, and finally Done.

  6. The driver and the customer can cancel the order before it reaches the Picked-up status. If the status of the order has changed to Picked up, neither the driver nor the customer can cancel it. After this status, the customer may have paid for the order or the driver may be on their way to the drop-off. If the driver cancels the order, the status of the order changes to Driver Cancel, and if the customer cancels the order, the status of the order changes to Customer Cancel.

  7. Support can cancel orders in all statuses before they reach Done. When support cancels the order, the status changes to Support Cancel.

Scheduled on-demand orders

A scheduled On-Demand order is a type of On-Demand order that has a specific pickup or drop-off (or both) time. These types of orders follow all On-Demand order concepts.

The main difference between a scheduled On-Demand order and an On-Demand order is that when the pickup time is specified, the driver must go to the pickup address during the specified time period. Also, in the workflow, the operation to find drivers continues until the specified time for pickup. In a scheduled On-Demand order, the drop-off time can also be specified, in which case the driver must be present at the drop-off address at the specified time.

Pickup & Delivery (P&D)

Use-case

For same-day and next-day delivery services, this order type is used. Drivers collect packages, which are then stored in a hub or warehouse before being delivered by drivers.

The schematic process is depicted in the graphic below.

Driver A may collect the package, and driver B may deliver it in this type of service. Furthermore, collection and delivery should occur at two separate times (even on two different days).

It's worth noting that packages can be transferred and stored between multiple hubs.

This is the most popular e-commerce service.

Two more orders are automatically created with this order type: a Pickup order and a Delivery order.

Drivers can be assigned to these orders. Read these sections for pickup and delivery orders:

Pickup only

Delivery only

In other words, we will have three additional orders after registering a P&D order.

  • P&D

  • Pickup

  • Delivery

As you can see in the image below, the driver interacts with the Pickup and Delivery orders, and the customer interacts with the P&D order.

Below is an example of a customer placing a Pickup and Delivery order, and the Pickup and Delivery orders have been assigned to the driver.

Each of these three orders has its order ID, barcode, tracking link, and status.

On all three orders, the customer gets access to tracking links.

With P&D orders, selecting a vehicle type is an option. It means that the company can determine whether or not to offer the customer the option of choosing a vehicle type!

In P&D orders, customers will not be able to chat with the driver.

Statuses

The status of a P&D order can be one of the following.

Pending

A package has been placed, but no driver has yet arrived to pick it up at the point of pick up.

Collecting

The package is being collected and delivered to a distribution hub or warehouse.

Transit

The package was received and is currently in the hub, but it has not yet been withdrawn for delivery.

Delivering

The driver is delivering the package.

Done

The package was delivered to the final recipient.

In status done, the customer's and the driver's transactions are finalized.

Customer canceled

The customer has canceled the order. Only after the order is in the pending status may the customer cancel it.

Driver canceled

The driver has decided to cancel the order.

Support canceled

Support has decided to cancel the order.

Workflow

In the graphic below, you can observe the workflow of a successful order.

As you can see, the status of P&D changes in tandem with the status of Pickup and Delivery orders.

  1. A driver is assigned to the Pickup order.

2. The driver starts the pick-up order. The pick-up order's status is now started, and the P&D order's status has been changed to collecting.

3. As soon as the package is collected at the pick-up location, the pick-up order status changes to picked up. The P&D status is still collecting.

4. The status of the pick-up order is completed when the driver delivers the package to the hub. The P&D order is also changed to transit status at the same time. This status indicates that the package has been given to the warehouse by the driver. The driver can now sign a Proof Of Delivery form for the order.

5. The Delivery order is assigned to the driver when the package is ready for delivery. (Of course, delivery orders can already be assigned to the driver.) The status of the P&D order is still in transit at this time. However, the delivery order's status is assigned.

6. The driver starts the delivery order. The delivery order status is started at this moment, and the P&D order status is switched to delivering.

7. After the package is delivered to the final recipient, the driver marks the delivery order status as completed. The status of the P&D order switches to done at the exact moment. At this stage, the driver can record the order's proof of delivery information.

The delivery order cannot be begun until the pick-up order has been completed.

If we have multiple hubs, the P&D status will be transient.

Drivers can be assigned to both pick-up and delivery orders at the same time.

Editing the status of orders in the dispatcher panel impacts the status of other orders. If a pick-up & delivery order is canceled, for example, pick-up and delivery orders will be canceled as well.

Pickup only

Use-case

There is only one address in this order type (pick-up address). There are two sorts of pickup-only orders:

Independent order:

An order that is created independently.

P&D-related order:

An order is generated automatically when a P&D order is placed. More information can be found in this section.

The flow and status are the same for both categories.

Statuses

The status of a Pickup order can be one of the following:

Pending

When an order has been placed, no driver has yet been assigned to it.

Assigned

The order has been assigned to the driver,but the order has not yet begun.

Started

The driver starts the order and proceeds to the pick-up location. The driver's location is presented in real-time in the link tracking in this status.

Picked up

The driver receives the package.

Done

The order has been successfully completed.

Transactions for the customer and the driver are finalized in the "Done" status.

Customer canceled

The consumer has decided to cancel the order.

Driver canceled

The driver has decided to cancel the order.

Support canceled

Support has decided to cancel the order.

Workflow

The picture below depicts the path of a successful order.

A driver is assigned to the pick-up order.

2. The driver starts the Pickup order. The status of the Pickup order is started at this point.

3. After a package is collected at the pick-up location, the driver changes the status of the Pickup order to picked up.

4. When the driver announces that the order has come to an end, the driver can now sign a Proof Of Delivery form for the order.

Delivery only

Use-case

There is just one address in this order type (delivery address). There are two sorts of Delivery Only orders.

Independent order:

An independent order is one that is created independently.

P&D-related order:

An order is automatically generated when a P&D order is created. More information can be found in this section.

The flow and status are the same for both categories.

Statuses

The status of a Delivery order can be one of the following.

Pending

When an order has been placed, and no driver has yet been assigned to it.

Assigned

When an order has been placed, and no driver has yet been assigned to it.

Started

The driver starts the delivery and proceeds to the delivery location. The driver's location is presented in real-time in the link tracking in this status.

Done

The order has been successfully completed.

Transactions for the customer and the driver are finalized in status done.

Customer canceled

The consumer has decided to cancel the order.

Driver canceled

The driver has decided to cancel the order.

Support canceled

Support has decided to cancel the order.

Workflow

The picture below depicts the path of a successful order.

  1. A driver is assigned to the Delivery Order.

2. The driver starts the Delivery order. The status of the Delivery order is started at this point.

3. When the driver announces that the order has come to an end, the driver can now sign a Proof Of Delivery form for the order.

Did this answer your question?