# order_status Enumeration value

value Introductions
101 Order Acceptance Stage of Distribution CompanyWaiting for the rider to be assigned, i.e. the initial state
102 Order Acceptance Stage of Distribution CompanyAssigning riders successfully
103 Order Acceptance Stage of Distribution CompanyMerchants cancel orders, End of order
201 Rider pick-up phaseRiders arrive at the store to start picking up
202 Rider pick-up phaseSuccessful pickup
203 Rider pick-up phaseFailure to collect goods, merchants cancel orders, End of order
204 Rider pick-up phaseThe rider cancels the order due to his own reasons. End of order
205 Rider pick-up phaseThe rider cancels the order due to business reasons. End of order
301 Rider Distribution StageDistribution
302 Rider Distribution StageSuccessful delivery, End of order
303 Rider Distribution StageThe merchant cancels the order, the delivery item starts to return the merchant
304 Rider Distribution StageUnable to contact the consignee, delivery items began to return to the merchant
305 Rider Distribution StageThe consignee refused, the distribution goods began to return to the merchant
401 The rider returns to the delivery stageThe goods returned to the merchant was successful, End of order
501 Cancelled due to capacity system reasons, End of order
502 Cancelled due to Force Majeure (weather, road control, etc.)

# Introductions

  1. The final state includes the success state 302, the failure state: 103,203,204,205,401,501,502。
  2. When the status is updated, we will push service notifications to the recipient user at the key node to inform the delivery status, Under the same single normal distribution will receive three notices, namely, "Rider has received the order," "Riders have taken delivery, distribution is in progress" and "distribution has been completed." When distribution is abnormal, it will issue "distribution abnormal" service notice.

# For different service notifications order_status Enumeration values are

Service notification Corresponding order_Status Value
Rider has been ordered 102
Rider has been picked up and is being delivered 202 or 301
Distribution completed 302
Distribution anomaly 203、204、205、303、304、305、501、502