Skip to main content

address

An address is a specific physical location combined with the information of a recipient, that can be visited and/or where shipments can be delivered to. An order refers to its delivery and billing address through its relationships.

idinteger
typestringrequired
Constant value: address
attributes object

An address in the context of Paxon, is a specific physical location combined with information of a recipient that can be visited and/or where shipments can be delivered to.

citystring
companystring

The name of the company or organization associated with the addressee.

countryCodecountryCode

A valid ISO:3166-1 alpha-2 country code denoting the country or subdivision.

Possible values: Value must match regular expression ^[A-Z]{2,2}(-[A-Z0-9]{2,3})?$

Examples:
Example: NL
firstNamestring

The first (given) name of the addressee

houseNumberstring

The number associated with the address on the street or road. This is typically a numerical value.

houseNumberExtensionstring

Additional information that is added to a house number to specify a more precise location within a building or property, such as an apartment number, unit number, or letter.

lastNamestring

The last (family) name of the addressee

postcodestring

The postcode, also known as zip, postal code, Eircode, etc.

prefixstring

Any particles that may appear between the first and last name. In a Dutch names "van" or "de" are typical examples.

regionstring

A possible region name. Typically a province, a state, or a prefecture.

street1string

The name of the street or road where the address is located.

street2string

Optional information reserved for any additional address information that doesn't fit in the street1 first field, such as suite or apartment numbers, floor numbers, or building names.

translatedNamestring

Optional field for special situations where the carrier requires a translated versoin of the 'name fields'. For example Japanese addresses may require a translation of the name to latin-1 or Kana.

address
{
"attributes": {
"firstName": "Rembrandt",
"prefix": "van",
"lastName": "Rijn",
"company": "Atelier Rembrandt",
"street1": "Jodenbreestraat",
"street2": "Achterhuis",
"postcode": "1011 NK",
"houseNumber": "4",
"houseNumberExtension": "A",
"city": "Amsterdam",
"region": "Noord-Holland",
"countryCode": "NL"
}
}