May 19, 2021 WeChat Mini Program Development Document
This interface should be called on the server side, as detailed in the Service Side API.
A third-party merchant initiates a request to bind the delivery company account number
POST https://api.weixin.qq.com/cgi-bin/express/local/business/shop/add?access_token=COMPNENT_ACCESS_TOKEN
Property | Type | The default | Required | Description |
---|---|---|---|---|
access_token | string | Is | The interface calls the credentials | |
delivery_id | string | Is | Distribution company ID |
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 |
The legal value of errcode
Value | Description | The lowest version |
---|---|---|
0 | Success | |
86000 | Not a third-party call | |
930561 | delivery_id is not valid |
{
"resultcode": 0,
"resultmsg": "ok",
}