# 获取地址详情

# 接口说明

可通过该接口获取地址详情

# 接口调用请求说明

POST https://api.weixin.qq.com/channels/ec/merchant/address/get?access_token=ACCESS_TOKEN

# 请求参数说明

参数 类型 是否必填 描述
address_id String 地址id

# 请求参数示例

{
    "address_id": "123345"
}

# 返回参数说明

参数 类型 描述
errcode number 错误码
errmsg string 错误信息
address_detail object AddressDetail 地址详情,具体信息请参考地址定义

# 返回参数示例

{
    "errcode": 0,
    "errmsg": "ok",
    "address_detail": {
        "address_id": 12345,
        "name": "",
        "address_info": {
            "user_name": "xasdss",
            "postal_code": "510983",
            "province_name": "广东省",
            "city_name": "广州市",
            "county_name": "天河区",
            "detail_info": "广州市天河区****",
            "tel_number": "18666666666",
            "lat": 23.12463,
            "lng": 113.36199,
            "house_number": "111222"
        },
        "landline": "",
        "remark": "",
        "send_addr": 0,
        "default_send": 1,
        "recv_addr": 0,
        "default_recv": 1,
        "create_time": 1662480000,
        "update_time": 1662480000,
        "address_type": {
            "same_city": 0,
            "pickup": 0
        }
    }
}

# 错误码

错误码 错误描述
公共错误码 -