# 查询质检仓配置

# 接口调用请求说明

GET https://api.weixin.qq.com/channels/ec/qic/inspect/config/get?access_token=ACCESS_TOKEN

# 回包示例

{
    "errcode": 0,
    "errmsg": "ok",
    "inspect_config": {
        "warehouse_id": "006",
        "delivery_address": {
            "contact_name": "ABC2",
            "contact_phone": "13566667777",
            "province": "湖北省",
            "city": "武汉市",
            "county": "江夏区",
            "detail": "江夏大道1号"
        },
        "return_address": {
            "contact_name": "老钱12",
            "contact_phone": "18535816726",
            "province": "北京市",
            "city": "北京市",
            "county": "大兴区",
            "detail": "亦庄经济开发区京东总部4号楼"
        },
        "warehouse_name": "海南CS",
        "warehouse_addr": "海南省海南质检机构地址333333221112222"
    }
}

# 回包参数说明

参数 类型 说明
errcode number 错误码
errmsg string 错误信息
inspect_config object InspectConfig 质检仓配置信息

# InspectConfig

字段名 类型 说明
warehouse_id string 质检仓ID
warehouse_name string 质检仓名称
warehouse_addr string 质检仓地址
delivery_address object AddressInfo 发货地址
return_address object AddressInfo 退货地址

# AddressInfo

字段名 类型 说明
contact_name string 联系人
contact_phone string 联系电话
province string
city string
county string
detail string 详细地址

# 错误码

错误码 错误信息
公共错误码 点击查看
10021600 质检系统异常
10021602 小店尚未配置质检基础信息