GitHub

ShopifyLocationAddress

interface

import { ShopifyLocationAddress } from '@daffodil/driver/shopify'

Represents the address of a location.

interface ShopifyLocationAddress {
  __typename: "LocationAddress"
  address1: string
  address2: string
  city: string
  country: string
  countryCode: string
  formatted: string[]
  latitude: number
  longitude: number
  phone: string
  province: string
  provinceCode: string
  zip: string
}

Properties

__typename
"LocationAddress"
address1
string

The first line of the address for the location.

address2
string

The second line of the address for the location.

city
string

The city of the location.

country
string

The country of the location.

countryCode
string

The country code of the location.

formatted
string[]

A formatted version of the address for the location.

latitude
number

The latitude coordinates of the location.

longitude
number

The longitude coordinates of the location.

phone
string

The phone number of the location.

province
string

The province of the location.

provinceCode
string

The code for the province, state, or district of the address of the location.

zip
string

The ZIP code of the location.