Type
|
Info
|
List
|
Customers
|
URL
|
http://{domain}/api/v2/customers/info_address.json
|
Accepts Filters
|
No
|
Output Attributes
|
No
|
Info Customers Address Data
Gets Customer Address info.
Filters
Filter the Customers into a list.
Parameter
|
Type
|
Rules
|
Example
|
id
|
int / array
|
one id or multiple Lead Commerce customer ids
|
1 or array(3,8)
|
Response
Example JSON returned
{
"code":"200",
"data":{
"1":[
{
"id":"1",
"display_id":"1000",
"first_name":"Joe",
"last_name":"Klein",
"address":[
{
"id":"3",
"name":"Joe Klein",
"business_name":"",
"address_1":"10972 W Ocean Air Dr",
"address_2":"Apt 200",
"city":"San Diego",
"postal_code":"92130",
"phone":"",
"status":"1",
"validated":"1",
"ignore_validated":"0",
"subregion":"California",
"region":"United States",
"metadata":{
"carrier_route":"R010",
"fips_code":"06073",
"congressional_district":"52",
"postnet_barcode":"921304636682",
"elot":"0119",
"latitude":"32.921730",
"longitude":"-117.216290",
"postal_code_extended":"4636",
"rdi":{
"code":"0",
"description":"Residential"
},
"zip_code_type":{
"code":"4",
"description":"Standard"
},
"address_type":{
"code":"H",
"description":"High-Rise; apartment or sub-units"
},
"verified":"1",
"ignore_validation":"0"
}
},
{
"id":"4",
"name":"Joe Klein",
"business_name":"",
"address_1":"PO Box 5555",
"address_2":"",
"city":"San Jose",
"postal_code":"95154",
"phone":"",
"status":"1",
"validated":"1",
"ignore_validated":"0",
"subregion":"California",
"region":"United States",
"metadata":{
"carrier_route":"B007",
"fips_code":"06085",
"congressional_district":"18",
"postnet_barcode":"951544591917",
"elot":"0001",
"latitude":"37.261660",
"longitude":"-121.912810",
"postal_code_extended":"4591",
"rdi":{
"code":"0",
"description":"Residential"
},
"zip_code_type":{
"code":"3",
"description":"PO Box"
},
"address_type":{
"code":"P",
"description":"Post Office Box"
},
"verified":"1",
"ignore_validation":"0"
}
},
{
"id":"14",
"name":"Australia Zoo",
"business_name":"",
"address_1":"1638 Steve Irwin Way",
"address_2":"",
"city":"Beerwah",
"postal_code":"4519",
"phone":"6199900074",
"status":"1",
"validated":"0",
"ignore_validated":"0",
"subregion":"Queensland",
"region":"Australia",
"metadata":{
"carrier_route":"",
"fips_code":"",
"congressional_district":"",
"postnet_barcode":"",
"elot":"",
"latitude":"0.000000",
"longitude":"0.000000",
"postal_code_extended":"0",
"rdi":{
"code":"0",
"description":"Residential"
},
"zip_code_type":{
"code":"0",
"description":"Standard"
},
"address_type":{
"code":"",
"description":"General Delivery; Hold at local post office"
},
"verified":"0",
"ignore_validation":"0"
}
}
]
}
]
}
}