May 19, 2021 WeChat Mini Program Development Document
This interface should be called on the server side, as detailed in the Service Side API.
Pull delivery order information
POST https://api.weixin.qq.com/cgi-bin/express/local/business/order/get?access_token=ACCESS_TOKEN
Property | Type | The default | Required | Description |
---|---|---|---|---|
access_token | string | Is | The interface calls the credentials | |
shopid | string | Is | Merchant id, appkey assigned by the distribution company | |
shop_order_id | string | Is | The ID that uniquely identifies the order and is generated by the merchant | |
shop_no | string | Is | Merchant store number, registered in the distribution company, if there is only one store, can not fill in | |
delivery_sign | string | Is | A check string description encrypted with appSecret provided by the distribution company |
Property | Type | Description |
---|---|---|
errcode | number | Error code, when errcode is 0 or does not exist also need to see resultcode |
errmsg | string | The error description |
resultcode | number | The error code returned by the capacity |
resultmsg | string | The error description returned by the capacity |
order_status | number | Distribution status, enumeration values |
waybill_id | string | Delivery order number |
rider_name | string | The rider's name |
rider_phone | string | Rider's phone |
rider_lng | number | Rider position longness, returned during distribution |
rider_lat | number | Rider position latitude, returned during distribution |
reach_time | number | Estimated how long remaining delivery time, return in delivery, units of seconds, picked up delivery needs to return, such as 5 minutes after delivery, fill 300 |
Merchants can use this interface to query the distribution status of a distribution order, so that merchants can grasp the distribution situation.