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 analog distribution company updates the status of the distribution order, which is used only in the sandbox environment, i.e. the order does not flow to the capacity side
POST https://api.weixin.qq.com/cgi-bin/express/local/business/test_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, must be "test_shop_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 |
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
{
"shopid": "test_shop_id",
"shop_order_id": "xxxxxxxxxxx",
"waybill_id": "xxxxxxxxxxxxx",
"action_time": 12345678,
"order_status": 101,
"action_msg": "",
}
{
"resultcode": 0,
"resultmsg": "ok"
}