Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

object

Represents a customer mailing address.

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

•

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

•

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.

Anchor to coordinatesValidatedcoordinatesValidated
•
Boolean!non-null

Whether the address corresponds to recognized latitude and longitude values.

•

The name of the country.

•

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

For example, US.

•

The first name of the customer.

•
[String!]!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.

•
ID!non-null

A globally-unique ID.

•

The last name of the customer.

•

The latitude coordinate of the customer address.

•

The longitude coordinate of the customer address.

•

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

•

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.

Anchor to validationResultSummaryvalidationResultSummary
•

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.

•

The zip or postal code of the address.

•
StringDeprecated

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

For example, US. Use countryCodeV2 instead.


Was this section helpful?

•
interface

Was this section helpful?