Skip to main content
object

Represents a customer mailing address.

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

•String

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

•String

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

•String

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

•String

The name of the customer's company or organization.

Anchor to coordinatesValidatedcoordinatesValidated
•Boolean!non-null

Whether the address corresponds to recognized latitude and longitude values.

•String

The name of the country.

•CountryCode

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

For example, US.

•String

The first name of the customer.

•[String!]!non-null

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

•String

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

•ID!non-null

A globally-unique ID.

•String

The last name of the customer.

•Float

The latitude coordinate of the customer address.

•Float

The longitude coordinate of the customer address.

•String

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

•String

A unique phone number for the customer.

•String

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

•String

The alphanumeric code for the region.

For example, ON.

•String

The time zone of the address.

Anchor to validationResultSummaryvalidationResultSummary
•MailingAddressValidationResult

The validation status that is leveraged by the address validation feature in the Shopify Admin. See "Validating addresses in your Shopify admin" for more details.

•String

The zip or postal code of the address.

•StringDeprecated

Was this section helpful?

•interface

Was this section helpful?