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

Address is used by multiple types in the system:

  • CartShippingMethod: Referenced in the pickupAddress field
  • Cart: Used for both shippingAddress and billingAddress fields
  • Customer: Referenced in the address field
  • Merchant: Referenced in the address field
  • Order: Used for both shippingAddress and billingAddress fields

This type provides complete address information for shipping, billing, and location-based operations across the store system.

Example

query GetAddressDetails { cart { shippingAddress { name email firstName lastName company phone address1 address2 city zipcode stateCode countryCode } } }

Implements

This type does not implement any interfaces.