Represents a customer mailing address.

For example, a customer's default address and an order's billing address are both mailling addresses.


Anchor to MailingAddress.address1
address1
Learn more about accessing protected customer data

The first line of the address. Typically the street address or PO Box number.

Anchor to MailingAddress.address2
address2
Learn more about accessing protected customer data

The second line of the address. Typically the number of the apartment, suite, or unit.

The name of the city, district, village, or town.

The name of the customer's company or organization.

Whether the address coordinates are valid.

The name of the country.

The two-letter code for the country of the address.

For example, US.

Anchor to MailingAddress.firstName
firstName
Learn more about accessing protected customer data

The first name of the customer.

Anchor to MailingAddress.formatted
formatted
Learn more about accessing protected customer data
non-null

A formatted version of the address, customized by the provided arguments.

A comma-separated list of the values for city, province, and country.

A globally-unique ID.

Anchor to MailingAddress.lastName
lastName
Learn more about accessing protected customer data

The last name of the customer.

Anchor to MailingAddress.latitude
latitude
Learn more about accessing protected customer data

The latitude coordinate of the customer address.

Anchor to MailingAddress.longitude
longitude
Learn more about accessing protected customer data

The longitude coordinate of the customer address.

Anchor to MailingAddress.name
name
Learn more about accessing protected customer data

The full name of the customer, based on firstName and lastName.

Anchor to MailingAddress.phone
phone
Learn more about accessing protected customer data

A unique phone number for the customer.

The region of the address, such as the province, state, or district.

The alphanumeric code for the region.

For example, ON.

The time zone of the address.

Represents the state of validation of a mailing address. For more information, refer to Validating shipping addresses on your orders.

Anchor to MailingAddress.zip
zip
Learn more about accessing protected customer data

The zip or postal code of the address.


Was this section helpful?
Map

Fields and connections from

MailingAddress



Was this section helpful?
||-
MailingAddress Implements
MailingAddress

Implements