Address

Address

Address API object

Constructor

new Address(countryopt, country_codeopt, stateopt, cityopt, streetopt, zipopt, typeopt)

Source:
Properties:
Name Type Attributes Description
country String <optional>
The country of the address
country_code String <optional>
The country code of the address
state String <optional>
The state of the address
city String <optional>
The city of the address
street String <optional>
The street of the address
zip String <optional>
The zip code of the address
type String <optional>
The type of the address
_ String The type of the object, for internal use only
Builds an address object for a contact. A contact can contain multiple addresses objects.
Parameters:
Name Type Attributes Description
country String <optional>
Full country name
country_code String <optional>
Two-letter country abbreviation
state String <optional>
State abbreviation
city String <optional>
City name
street String <optional>
Street number and name
zip String <optional>
ZIP code
type String <optional>
Address type. Standard Values: HOME, WORK