Skip to main content
Version: 3.x

Address

Represents user address data.

type Address implements Node {
id: ID!
firstName: String!
lastName: String!
companyName: String!
streetAddress1: String!
streetAddress2: String!
city: String!
cityArea: String!
postalCode: String!
country: CountryDisplay!
countryArea: String!
phone: String
isDefaultShippingAddress: Boolean
isDefaultBillingAddress: Boolean
}

Fields

Address.id ● ID! non-null scalar

Address.firstName ● String! non-null scalar

Address.lastName ● String! non-null scalar

Address.companyName ● String! non-null scalar

Address.streetAddress1 ● String! non-null scalar

Address.streetAddress2 ● String! non-null scalar

Address.city ● String! non-null scalar

Address.cityArea ● String! non-null scalar

Address.postalCode ● String! non-null scalar

Address.country ● CountryDisplay! non-null object

Shop's default country.

Address.countryArea ● String! non-null scalar

Address.phone ● String scalar

Address.isDefaultShippingAddress ● Boolean scalar

Address is user's default shipping address.

Address.isDefaultBillingAddress ● Boolean scalar

Address is user's default billing address.

Interfaces

Node interface

An object with an ID

Returned by

address query

Member of

AccountAddressCreate object ● AccountAddressDelete object ● AccountAddressUpdate object ● AddressCreate object ● AddressCreated object ● AddressDelete object ● AddressDeleted object ● AddressUpdate object ● AddressUpdated object ● Checkout object ● Order object ● Shop object ● TaxableObject object ● User object ● Warehouse object

Implemented by

_Entity union