# Food delivery
# Delivery processes
Here are the basic processes of Zeek food delivery:
- Store assignment by Zeek.
- Get quotations.
- Customer places order in App.
- Creates delivery order.
- Zeek assigns partner.
- Partner accepts order.
- Partner proceeds to store (merchant).
- Partner arrives store (merchant).
- Delivering, partner proceeds to customer location.
- Partner arrives customer location nearby.
- Customer receives food. Order is completed.
# Standard API flow
The standard API flow diagram demonstrates a food ordering app interacting with Zeek Open API. It also highlights the API in use.
# Order status code
During delivery process, system will update status by status codes. Developer can receive the latest status update by Order status update callback. Here are the status codes.
|Order status||Description||Provide in callback|
|9001||Order is created||No|
|9005||Partner accepted order||Yes|
|9010||Partner arrived merchant nearby||Yes|
|9011||Partner arrived merchant||Yes|
|9015||Delivery in progress||Yes|
|9017||Partner arrived destination nearby||Yes|
|9021||Order is completed||Yes|
|9025||Order is cancelled - before partner picked up food||Yes|
|9026||Order is cancelled - after partner picked up food||Yes|
|8001||Another partner is assigned||No |
Please contact Zeek team should you require this status.
# Time prediction (ETA)
In delivery journey, merchants need the time required in different delivery processes for operations. On the other hand, we can provide better user experiences to customer by povide the time prediction. Therefore, Zeek builds several time prediction models by machine learning. Developers can retrieve the time prediction via Open APIs.
# Accept time
Definition: Before delivery order is created. If a merchant is going to create an order in Zeek platform, the predicted time required for a partner to accept that order.
Suggested usage: Display the time on the order taking interface, so that store mananger knows the time.
# Showup time
Definition: After partner accepts an delivery order,the predicted time required for a partner to arrive store / merchant.
Suggested usage: Display the time on the order taking interface, so that store manager knows the time.
# Quote time
Definition: Before delivery order is created. If a merchant is going to create an order in Zeek platform, the predicted time required for the food to be delivered to customer.
Suggested usage: Display the time on customer interface, so that he knows the time before placing order.
# Delivery time
Definition: After order is created, the predicted time required for the food to be delivered to customer.
Suggested usage: Display the time on customer interface, so that he knows when will the food be delivered.