Clients / Addresses / Index

NameClients / Addresses / Index
DescriptionList Addresses for a specified Client
TypeGET
URL
/v9/clients/:client_id/addresses
Credential TypeAPI
Supports PaginationYes

Long Description

List Addresses for a specified Client

Parameters

Name
Description
Type
Presence
LocationConditionals
client_idThe ID of the specific ClientIntegerRequiredURINo
label
Arbitrary description, like 'home' or 'office'StringOptionalBodyNo
name
Name of the person at this addressStringOptionalBodyNo
company
Company name in the addressStringOptionalBodyNo
street_address
Street address of the new addressStringOptionalBodyNo
extended_address
Second line of the street addressStringOptionalBodyNo
locality
CityStringOptionalBodyNo
region
State or provinceStringOptionalBodyNo
postal_code
Zip codeStringOptionalBodyNo
country_code
2 digit ISO 3166-1 alpha-2 Country CodeStringOptionalBodyNo
created_atCreation timestampDate  (ISO_8601)YesQueryYes
updated_atLast updated timestampDate  (ISO_8601)YesQueryYes

 

Examples

RequestResponse
 
Paste in Request Code
{
   "addresses":[
      {
         "country_code":"US",
         "url":"/clients/1625/addresses/10110",
         "updated_at":"2011-09-20T20:33:22Z",
         "longitude":null,
         "street_address":"555 Evergreen Terrace",
         "name":null,
         "locality":"Springfield",
         "label":"Work",
         "id":"10110",
         "latitude":null,
         "postal_code":"58008-0000",
         "region":"MG",
         "extended_address":null
      }
   ],
   "current_page":1,
   "per_page":2,
   "total_entries":1
}