Add a Location to a Contact
POST /public/people//location — Adds an address to a contact. Street is required. When Country is provided, State is also required.
Street is the only required field. When Country is supplied, State must also be provided. Use IsPrimary=true to replace the contact’s current primary address, and IsBilling=true to set this as the billing address. A contact can have only one primary and one billing location at a time; setting either flag moves it from the previous location.
application/x-www-form-urlencoded.Headers
Accept Header
application/json Application Id
A date timestamp of the request
A signature for the request
User API Key
Path Parameters
Body
Street (Maximum character length is 100)
Contact First Name (Maximum character length is 50)
Contact Last Name (Maximum character length is 50)
Contact Phone Number (Maximum character length is 50)
Contact Email (Maximum character length is 100)
Suite (Maximum character length is 100)
City (Maximum character length is 50)
Postal Code (Maximum character length is 20)
State (Maximum character length is 256)
Country (Maximum character length is 256)
Response
Success
Contact-location detail model
Whether this location is the primary location for the contact
Whether this location is the billing location for the contact
Location contact first name
Location contact last name
Location contact phone number
Location contact email address
Unique numeric identifier of the location, when available.
Primary street address line.
Secondary address line, apartment, or suite.
City or locality.
Postal or ZIP code.
State, province, or region name.
State or province abbreviation when available.
Country name.
Location phone number when one is associated with this address.