Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
labelapi_docs_addresses
NameClients / Addresses / Index
DescriptionList Addresses for a specified Client
TypeGET
URL
/v9/clients/:client_id/addresses
Credential TypeAPI
Supports PaginationYes

...

Name
Description
Type
Presence
LocationLimitationsConditionals
client_idThe ID of the specific ClientIntegerRequiredURI No
label
Arbitrary description, like 'home' or 'office'StringOptionalBody20 characters maxNo
name
Name of the person at this addressStringOptionalBody No
company
Company name in the addressStringOptionalBody No
street_address
Street address of the new addressStringOptionalBody No
extended_address
Second line of the street addressStringOptionalBody No
locality
CityStringOptionalBody No
region
State or provinceStringOptionalBody No
postal_code
Zip codeStringOptionalBody No
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
 
Code Block
themeEclipse
languageruby
Paste in Request Code
Code Block
themeConfluence
languagejavascript
collapsetrue
{
   "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
}