RichAddressInput
Input fields
Top-level administrative subdivision, e.g. NZ region.
ISO 3166-1 alpha-2 code of the country this address belongs
to, e.g. AU, GB, JP, NZ.
Identifier used by the local postal service for this address, e.g. AU DPID, GB postcode + Delivery Point Suffix, US Zip-9 + Delivery Point.
This is the value that gets encoded in the barcode printed on the envelope by large-volume bulk mail providers.
UK dependent localities, or neighbourhoods or boroughs in some other locations.
Identifier for this address in its territory's official address register, e.g. DAR ID in DK, UPRN in GB, G-NAF ID in AU.
City or town portion of an address, e.g. NZ suburb or town.
A personal name.
The name of a business or organisation.
The post code associated with the address.
Sorting code, e.g. FR CEDEX code. This field is not used in many countries.
At most one of this field and structured_street_address
can be supplied.
This is a divergence from RichAddressType.street_address,
where the field is always supplied; if
structured_street_address is present, it's generated from
that.
At most, only one of this field and street_address should be
supplied.
NZ: New Zealand
The following keys may be present; all are optional. If keys are empty, they may be omitted from the response entirely.
flat_or_unit_typeflat_or_unit_numberfloor_or_level_typefloor_or_level_numberproperty_namebuilding_namehouse_number_1house_number_suffix_1house_number_2house_number_suffix_2street_prefixstreet_namestreet_typestreet_suffixrural_delivery_numbermailtownpostal_delivery_typepostal_delivery_locationpostal_delivery_number_prefixpostal_delivery_number_valuepostal_delivery_number_suffix
Second-level administrative subdivision, e.g. US county.
Only populated for addresses in countries where this concept is relevant. For all other countries this field will be blank.
Example
{
"administrativeArea": "audience-baby-true-fear-citizen",
"country": "north-candidate-night-sure-opportunity",
"deliveryPointIdentifier": "39204480",
"dependentLocality": "while-now-commercial-test-wind",
"geographicalId": "93612653",
"locality": "meeting-her-get-day-purpose",
"name": "item-create-bit-program-fast",
"organization": "matter-foot-the-tonight-adult",
"postalCode": "cut-foreign-would-situation-fund",
"sortingCode": "defense-purpose-study-usually-gas",
"streetAddress": "think-reach-machine-world-doctor",
"structuredStreetAddress": NzlRichStructuredAddressInput,
"subAdministrativeArea": "rise-be-college-treat-defense"
}