Skip to Content

Address

Represents a physical or shipping address within the store system.

Type Definition

type Address { name: String email: String firstName: String lastName: String company: String companyId: String vatNumber: String vatId: String phone: String address1: String address2: String zipcode: String city: String stateCode: String countryCode: String info: String latitude: String longitude: String }

Fields

FieldTypeDescription
nameStringFull name of the person associated with this address
emailStringEmail address for contact purposes
firstNameStringReturns the value of first_name field in the address
lastNameStringLast name of the person
companyStringCompany name associated with this address
companyIdStringBusiness ID of the company
vatNumberStringVAT identification number
vatIdStringVAT identification number
phoneStringReturns the value of phone field in the address
address1StringReturns the value of address1 field in the address
address2StringReturns the value of address2 field in the address
zipcodeStringReturns the value of zipcode field in the address
cityStringReturns the value of city field in the address
stateCodeStringReturns the value of state_code field in the address
countryCodeStringReturns the value of country_code field in the address
infoStringAdditional information or notes for the address
latitudeStringLatitude coordinate of the address
longitudeStringLongitude coordinate of the address

Relationships

The Address type is used in several contexts throughout the API. It serves as the shipping address and billing address for Cart objects, the address associated with Customer objects, and the pickup address for CartShippingMethod selections. Merchant objects also utilize Address to store business location information.

Example

query { customer { address { name email firstName lastName company phone address1 address2 zipcode city stateCode countryCode } } }

Implements

None