Clients / Addresses / Update

NameClients / Addresses / Update
DescriptionUpdate an existing Address for an existing Client
TypePUT
URL
/v9/clients/:client_id/addresses/:address_id
Credential TypeAPI

Parameters

Name
Description
Type
Presence
LocationLimitations
client_idThe ID of the specific ClientIntegerRequiredURI
address_idThe ID of the specific AddressIntegerRequiredURI
label
Arbitrary description, like 'home' or 'office'StringOptionalBody20 characters max
name
Name of the person at this addressStringOptionalBody
company
Company name in the addressStringOptionalBody
street_address
Street address of the new addressStringOptionalBody
extended_address
Second line of the street addressStringOptionalBody
locality
CityStringOptionalBody
region
State or provinceStringOptionalBody
postal_code
Zip codeStringOptionalBody
country_code
2 digit ISO 3166-1 alpha-2 Country CodeStringOptionalBody

Examples

RequestResponse

{"company":"Uncle Moe\u2019s Family Feed-Bag","extended_address":"Next to King Toot\u2019s","label":"Work (and home)","name":"Moe Szyslak"}
{
   "country_code":"US",
   "url":"/clients/1625/addresses/46686",
   "updated_at":"2012-01-06T02:47:43Z",
   "longitude":null,
   "street_address":"555 Evergreen Terrace",
   "name":"Moe Szyslak",
   "locality":"Springfield",
   "label":"Work (and home)",
   "id":"46686",
   "latitude":null,
   "postal_code":"58008-0000",
   "region":"MG",
   "extended_address":"Next to King Toot’s"
}