十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
本接口应在服务器端调用,详细说明参见 服务端API。
第三方代商户发起绑定配送公司帐号的请求
POST https://api.weixin.qq.com/cgi-bin/express/local/business/shop/add?access_token=COMPNENT_ACCESS_TOKEN
| 属性 | 类型 | 默认值 | 必填 | 说明 |
|---|---|---|---|---|
| access_token | string | 是 | 接口调用凭证 | |
| delivery_id | string | 是 | 配送公司ID |
| 属性 | 类型 | 说明 |
|---|---|---|
| errcode | number | 错误码, 当errcode==0或者不存在还需要看resultcode |
| errmsg | string | 错误描述 |
| resultcode | number | 运力返回的错误码 |
| resultmsg | string | 运力返回的错误描述 |
errcode 的合法值
| 值 | 说明 | 最低版本 |
|---|---|---|
| 0 | 成功 | |
| 86000 | 不是第三方的调用 | |
| 930561 | delivery_id无效 |
{
"resultcode": 0,
"resultmsg": "ok",
}