import { ShopifyCountry } from '@daffodil/driver/shopify'
A country with localization settings for a storefront. Includes the country's currency, available languages, default language, and unit system (metric or imperial).
Access countries through the localization query, which returns both the list of available countries and the currently active country. Use the @inContext directive to change the active country context.
interface ShopifyCountry {
__typename: "Country"
availableLanguages: ShopifyLanguage[]
currency: ShopifyCurrency
defaultLanguage: ShopifyLanguage
isoCode: ShopifyCountryCode
market: ShopifyMarket
name: string
unitSystem: ShopifyUnitSystem
}
__typename "Country" |
|---|
availableLanguages ShopifyLanguage[] |
|---|
The languages available for the country. |
currency ShopifyCurrency |
|---|
The currency of the country. |
defaultLanguage ShopifyLanguage |
|---|
The default language for the country. |
isoCode ShopifyCountryCode |
|---|
The ISO code of the country. |
market ShopifyMarket |
|---|
The market that includes this country. |
name string |
|---|
The name of the country. |
unitSystem ShopifyUnitSystem |
|---|
The unit system used in the country. |