GitHub

ShopifyMarket

Type

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

An audience of buyers that a merchant targets for sales. Audiences can include geographic regions, company locations, and retail locations. Markets enable localized shopping experiences with region-specific languages, currencies, and pricing.

Each market has a unique handle for identification and supports custom data through metafields. Learn more about building localized experiences with Shopify Markets.

interface ShopifyMarket {
  __typename: "Market"
  handle: string
  id: string
  metafield: ShopifyMetafield
  metafields: ShopifyMetafield[]
}

Properties

__typename
"Market"
handle
string

A human-readable unique string for the market automatically generated from its title.

id
string

A globally-unique ID.

metafield
ShopifyMetafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

metafields
ShopifyMetafield[]

A list of custom fields that a merchant associates with a Shopify resource.