May 19, 2021 WeChat Mini Program Development Document
This interface should be called on the server side, as detailed in the Service Side API.
Unusual items are returned to the merchant merchant confirmation receipt interface
POST https://api.weixin.qq.com/cgi-bin/express/local/business/order/confirm_return?access_token=ACCESS_TOKEN
Property | Type | The default | Required | Description |
---|---|---|---|---|
access_token | string | Is | The interface calls the credentials | |
shopid | string | Is | Merchant id, an appkey assigned by a 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 with the distribution company, flash required, value for store id | |
delivery_sign | string | Is | A check string description encrypted with appSecret provided by the distribution company | |
waybill_id | string | Is | Delivery order id | |
remark | string | Whether | Note |
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 |
When the order delivery is abnormal, the rider returns the goods to the merchant, who then calls this interface to return the confirmed receipt.
{
"shopid": "123456",
"shop_order_id": "123456",
"shop_no": "shop_no_111"
"waybill_id": "123456",
"remark": "remark",
"delivery_sign": "123456"
}
{
"resultcode": 0,
"resultmsg": "ok"
}