Address object representation

The address object representation and fields are described below.

address was introduced in API version V1

address has not been marked for deprecation

Usages

Description

Postal or location address used by CRM and identity representation

Example create representation

{
  "identity" : {
    "urn" : "10615807-513a-49b5-85e4-9df44a0e1ef1",
    "url" : "/n/v1/identity/10615807-513a-49b5-85e4-9df44a0e1ef1"
  },
  "officeBoxNumber" : "Google UK Ltd",
  "street" : "71 Buckingham Palace Road",
  "area" : "Belgravia",
  "locality" : "London",
  "postalCode" : "SW1W 9TQ",
  "countryCode" : "GB",
  "addressType" : "COMPANY"
}

Example response representation

{
  "urn" : "a9bc29a5-bf58-4c53-90e4-4c6252aaa663",
  "identity" : {
    "urn" : "249456c5-c884-4ef6-96b0-30e96a73897a",
    "url" : "/n/v1/identity/249456c5-c884-4ef6-96b0-30e96a73897a"
  },
  "url" : "/n/v1/address/a9bc29a5-bf58-4c53-90e4-4c6252aaa663",
  "officeBoxNumber" : "Google UK Ltd",
  "street" : "71 Buckingham Palace Road",
  "area" : "Belgravia",
  "locality" : "London",
  "postalCode" : "SW1W 9TQ",
  "countryCode" : "GB",
  "addressType" : "COMPANY"
}

Fields

NameTypeDescriptionConstraints
urnString representation of a Unique Resource Name. Typically a UUID with 36 characters.The URN for the address
identityidentityThe URN of the associated identity
urlURL represented as a stringThe URL for accessing the address
officeBoxNumberString literalThe post office box or internal routing address portion of the addressOptional.
streetString literalThe street component of the address e.g. '71 Buckingham Palace Road'Required on create.
areaString literalArea within a locality or city e.g. a region or town region e.g. 'Belgravia'Optional.
localityString literalLocality or city e.g. London
regionString literalRegion / district or countyOptional.
postalCodeString literalPostal code / zip code e.g. SW1W 9TQRequired on create.
countryCodeISO 3166-1 alpha-2 country code e.g. 'GB' for Great BrittonISO 3166-1 alpha-2 country code for the address
addressTypeString literalAddress type used for selecting addressesOptional.

Allowed values:

  • BILLING
  • COMPANY
  • HOME
  • CONTACT
  • SHIPPING
  • UNRECOGNIZED