commerce/customer/addressvalidation

Use the Address Validation resource to validate addresses associated with a customer account contact.

JSON Example

AddressValidationRequest Properties

Property Description
address

type: address

Address information to supply for a contact.

address.address1

type: string

Physical or mailing address line one. Usually includes the street number and street name or it could be a P.O. Box. Max length: 200.

address.address2

type: string

Physical or mailing address line two. Usually supplements the main street address with apartment, floor, suite, building, or unit information. Max length: 200.

address.address3

type: string

Physical or mailing address line three. Max length: 200.

address.address4

type: string

Physical or mailing address line four. Max length: 200.

address.addressType

type: string

The type of address, which is commercial or residential.

address.cityOrTown

type: string

The entered city or town for the address.

address.countryCode

type: string

The 2-letter geographic code representing the country for the physical or mailing address. Currently limited to the US.

address.isValidated

type: bool

Indicates if the address has been validated. If true, the address has been verified by an address validation service.

address.postalOrZipCode

type: string

The entered zip or postal code for an address.

address.stateOrProvince

type: string

The entered state or province for an address.

Operations

Operation Name Request URI Description
ValidateAddress POST %3fresponseFields%3d%7bresponseFields%7d

Validates the customer address supplied in the request.