import { ShopifyLocation } from '@daffodil/driver/shopify'
A physical store location where product inventory is held and that supports in-store pickup. Provides the location's name, address, and geographic coordinates for proximity-based sorting. Use with StoreAvailability to show customers where a ProductVariant is available for pickup.
Learn more about supporting local pickup on storefronts.
interface ShopifyLocation {
__typename: "Location"
address: ShopifyLocationAddress
id: string
metafield: ShopifyMetafield
metafields: ShopifyMetafield[]
name: string
}
__typename "Location" |
|---|
address ShopifyLocationAddress |
|---|
The address of the location. |
id string |
|---|
A globally-unique ID. |
metafield ShopifyMetafield |
|---|
A custom field, including its |
metafields ShopifyMetafield[] |
|---|
A list of custom fields that a merchant associates with a Shopify resource. |
name string |
|---|
The name of the location. |