GitHub

ShopifyCartDeliveryCoordinatesPreference

interface

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

Preferred location used to find the closest pick up point based on coordinates.

interface ShopifyCartDeliveryCoordinatesPreference {
  __typename: "CartDeliveryCoordinatesPreference"
  countryCode: ShopifyCountryCode
  latitude: number
  longitude: number
}

Properties

__typename
"CartDeliveryCoordinatesPreference"
countryCode
ShopifyCountryCode

The two-letter code for the country of the preferred location.

For example, US.

latitude
number

The geographic latitude for a given location. Coordinates are required in order to set pickUpHandle for pickup points.

longitude
number

The geographic longitude for a given location. Coordinates are required in order to set pickUpHandle for pickup points.