Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat Small Program Instant Distribution Interface (Business View) Appendix 2:order_status enumeration values


May 18, 2021 WeChat Mini Program Development Document


Table of contents


order_status enumeration value

Value Description
101 The delivery company picks up the order stage - waiting for the rider to be assigned, i.e. the initial state
102 Distribution company order stage - the allocation of riders successfully
103 Distribution company order stage - merchant cancels the order, the order ends
201 Rider pick-up stage - Rider to the shop to start pick-up
202 Rider pick-up phase - pick-up success
203 Rider pick-up stage - pick-up failed, merchant cancels order, order ends
204 Rider pick-up stage - pick-up failed, rider for their own reasons to cancel the order, the order ended
205 Rider pick-up stage - pick-up failure, rider due to merchant reasons to cancel the order, order end
301 Rider distribution phase - in delivery
302 Rider distribution phase - successful delivery, order end
303 Rider delivery phase - merchants cancel orders and items are returned to merchants
304 Rider Delivery Phase - Unable to contact the conseer and the delivery items begin to be returned to the merchant
305 Rider distribution stage - the conseer refuses to accept, the delivery items begin to return to the merchant
401 The rider returns to the delivery stage - the goods are returned to the merchant successfully and the order is completed
501 Cancelled due to capacity system reasons, the order is closed
502 The order was cancelled due to irresistible factors (weather, road control, etc.).

Description

  1. The final status includes success status 302, failure status: 103,203,204,205,401,501,502.
  2. When the status is updated, we will push the service notification to the recipient of the recipient in the critical node, inform the delivery status, three notifications will be received at the same distribution order, that is, [rider has passed the order], [rider has taken the goods, distribution][Distribution has been completed], when the distribution is abnormal, the [Distribution Abnormal] service notification is issued.

The enumeration value order_status different service notifications is

Service notifications The corresponding order_status value
The rider has received the order 102
The rider has picked up the goods and is in delivery 202 or 301
Delivery is complete 302
The distribution is abnormal 203、204、205、303、304、305、501、502