May 19, 2021 WeChat Mini Program Development Document
This interface should be called on the server side, as detailed in the Service Side API.
The simulated distribution company updates the status of the distribution order, which is used to test the order under the account and forward the request to the capacity test environment
POST https://api.weixin.qq.com/cgi-bin/express/local/business/realmock_update_order?access_token=ACCESS_TOKEN
Property | Type | The default | Required | Description |
---|---|---|---|---|
access_token | string | Is | The interface calls the credentials | |
shopid | string | Is | Merchant id | |
shop_order_id | string | Is | The ID that uniquely identifies the order and is generated by the merchant | |
action_time | number | Is | State change point in time, Unix second timestamp | |
order_status | number | Is | Distribution status, enumeration values | |
action_msg | string | Whether | Additional information | |
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 |
This interface can only be used for testing, requests are forwarded to the capacity test environment, currently supported by Shunfeng Tongcheng and Dada
{
"shopid": "xxxxxxx",
"shop_order_id": "xxxxxxxxxxx",
"action_time": 1584145981,
"order_status": 101,
"action_msg": "",
"delivery_sign": "xxxxxxx",
}
{
"resultcode": 0,
"resultmsg": "ok"
}