# 订单发货
# 接口调用请求说明
http请求方式:POST
https://api.weixin.qq.com/product/delivery/send?access_token=xxxxxxxxx
# 请求参数示例
{
"order_id": 123456,
"delivery_list":
[
{
"delivery_id": "1",
"waybill_id": "23424324253"
}
]
}
# 回包示例
{
"errcode": 0,
"errmsg":"ok",
}
# 请求参数说明
| 参数 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| order_id | number | 是 | 订单id |
| delivery_list[].delivery_id | string | 是 | 快递公司id,通过获取快递公司列表获取 |
| delivery_list[].waybill_id | string | 是 | 快递单号 |
# 回包参数说明
| 参数 | 类型 | 说明 |
|---|---|---|
| errcode | number | 错误码 |
| errmsg | string | 错误信息 |
# 返回码
| 返回码 | 错误类型 |
|---|---|
| -1 | 系统异常 |
| -2 | token太长 |
| 9401020 | 参数有误 |
| 9401021 | 无权限调用该api |
| 108009 | 订单在售后中,不允许发货&确认收货 |
| 109000 | 发货失败 |
| 109001 | 已经发货 |