GitHub

ShopifyCartDeliveryCoordinatesPreferenceInput

interface

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

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

interface ShopifyCartDeliveryCoordinatesPreferenceInput {
  countryCode: ShopifyCountryCode
  latitude: number
  longitude: number
}

Properties

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.