# Get a business address

# Dxplaination of Interface Call Request

http请求方式:POST
https://api.weixin.qq.com/product/address/get?access_token=xxxxxxxxx

# Example of request parameters

{
    "address_id": 12345,
}

# Examples of back-up

{
    "errcode" : 0,
    "errcode" : "",
    "address_list":[
        {
            "address_id":12345,
            "name":"",
            "address_info":{
                "user_name":"xasdss",
                "postal_code":"510983",
                "province_name":"广东省",
                "city_name":"广州市",
                "county_name":"天河区",
                "detail_info":"广州市天河区人民政府",
                "tel_number":"18829736648",
                "lat":23.12463,
                "lng":113.36199,
                "house_number":"asdf"
            },
            "landline":"",
            "remark":"",
            "send_addr":0,
            "default_send":1,
            "recv_addr":0,
            "default_recv":1,
            "create_time":1617853816,
            "update_time":1617853816,
            "address_type":{
                "same_city":0,
                "pickup":0
            }
        }
    ]
}

# Dxplaination of request parameters

参数 type Is it compulsory? Introductions
address_id number no Address ID, pull all addresses when not filled in

# Dxplaination of callback parameters

参数 type Introductions
errcode string Error code
errmsg string Error message
address_list[].address_id number Address ID
address_list[].name string Contact Name (abandoned)
address_list[].landline string Landline
address_list[].remark string Remarks
address_list[].send_addr number Is this the shipping address (1 Yes 0 No)
address_list[].default_send number Is this the default shipping address (1 Yes 0 No)
address_list[].recv_addr number Is this the shipping address (1 Yes 0 No)
address_list[].default_recv number Is this the default shipping address (1 Yes 0 No)
address_list[].create_time number Created time
address_list[].update_time number Updated time
address_list[].address_type.same_city number Is this a same-town delivery address (1 yes 0 no)
address_list[].address_type.pickup number Is this an offline pick-up address (1 yes 0 no)
address_list[].address_info.user_name string Contact Name
address_list[].address_info.postal_code string postal code
address_list[].address_info.province_name string National standards shipping addresses First level addresses
address_list[].address_info.city_name string National Standard Shipping Address Level 2 Address
address_list[].address_info.county_name string National Standard Shipping Address Level 3 Address
address_list[].address_info.detail_info string Detailed address
address_list[].address_info.national_code string Shipping Address Country Code
address_list[].address_info.tel_number string The consignee's mobile phone number
address_list[].address_info.lat double longitude
address_list[].address_info.lng double latitude
address_list[].address_info.house_number string House number

# Return code

返回码 Error Type
-1 System exceptions
-2 Token too long