# 获取
# 接口调用请求说明
POST https://api.weixin.qq.com/channels/ec/warehouse/get?access_token=ACCESS_TOKEN
# 请求参数示例
{
"out_warehouse_id": "test1"
}
# 回包示例
{
"errcode": 0,
"errmsg": "ok",
"data": {
"out_warehouse_id": "test1",
"name": "bbb",
"intro": "aaa",
"cover_locations": [{
"address_id1": 440000000,
"address_id2": 440100000,
"address_id3": 440111000,
"address_id4": 0
}]
}
}
# 请求参数说明
参数 | 类型 | 是否必填 | 说明 |
---|---|---|---|
out_warehouse_id | string | 是 | 外部仓库ID。 |
# 回包参数说明
参数 | 类型 | 说明 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
data.out_warehouse_id | string | 外部仓库ID |
data.name | string | 仓库名称。 |
data.intro | string | 仓库介绍。 |
data.cover_locations[] | array[obj] | 覆盖区域 |
data.cover_locations[].address_id1 | number | 省份地址编码。 |
data.cover_locations[].address_id2 | number | 市地址编码。 |
data.cover_locations[].address_id3 | number | 区地址编码。 |
data.cover_locations[].address_id4 | number | 街道地址编码。 |
# 错误码
错误码 | 错误信息 |
---|---|
公共错误码 | 点击查看 |
10020202 | out_warehouse_id不存在 |