MailingAddress
Represents a customer mailing address.
For example, a customer's default address and an order's billing address are both mailling addresses.
Anchor to FieldsFields
- Anchor to address1address1•
The first line of the address. Typically the street address or PO Box number.
- Anchor to address2address2•
The second line of the address. Typically the number of the apartment, suite, or unit.
- Anchor to citycity•
The name of the city, district, village, or town.
- Anchor to companycompany•
The name of the customer's company or organization.
- Anchor to coordinatesValidatedcoordinates•
Validated Boolean!non-null Whether the address corresponds to recognized latitude and longitude values.
- Anchor to countrycountry•
The name of the country.
- Anchor to countryCodeV2country•
Code V2 The two-letter code for the country of the address.
For example, US.
- Anchor to firstNamefirst•
Name The first name of the customer.
- Anchor to formattedformatted•[String!]!non-null
A formatted version of the address, customized by the provided arguments.
- Anchor to formattedAreaformatted•
Area A comma-separated list of the values for city, province, and country.
- •ID!non-null
A globally-unique ID.
- Anchor to lastNamelast•
Name The last name of the customer.
- Anchor to latitudelatitude•
The latitude coordinate of the customer address.
- Anchor to longitudelongitude•
The longitude coordinate of the customer address.
- Anchor to namename•
The full name of the customer, based on firstName and lastName.
- Anchor to phonephone•
A unique phone number for the customer.
- Anchor to provinceprovince•
The region of the address, such as the province, state, or district.
- Anchor to provinceCodeprovince•
Code The alphanumeric code for the region.
For example, ON.
- Anchor to timeZonetime•
Zone The time zone of the address.
- •
The zip or postal code of the address.
- Anchor to countryCodecountry•
Code StringDeprecated The two-letter code for the country of the address.
For example, US. Use
instead.
Map
Fields and connections with this object
- Customer.addresses
- Customer.defaultAddress
- CustomerMergePreviewAlternateFields.defaultAddress
- CustomerMergePreviewDefaultFields.defaultAddress
- CustomerMergePreviewDefaultFields.addresses
- CustomerSegmentMember.defaultAddress
- DraftOrder.billingAddress
- DraftOrder.shippingAddress
- MailingAddressConnection.nodes
- MailingAddressEdge.node
- Order.billingAddress
- Order.displayAddress
- Order.shippingAddress
- ShopifyPaymentsDisputeEvidence.billingAddress
- ShopifyPaymentsDisputeEvidence.shippingAddress