Anchor to Country
objectCountry
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 directive to change the active country context.
Anchor to FieldsFields
- availableLanguages ([Language!]!)
- currency (Currency!)
- defaultLanguage (Language!)
- isoCode (CountryCode!)
- name (String!)
- unitSystem (UnitSystem!)
- market (Market): deprecated
- Anchor to availableLanguagesavailable•[Language!]!
Languages non-null The languages available for the country.
- Anchor to currencycurrency•Currency!non-null
The currency of the country.
- Anchor to defaultLanguagedefault•Language!
Language non-null The default language for the country.
- Anchor to isoCodeiso•Country
Code Code! non-null The ISO code of the country.
- Anchor to namename•String!non-null
The name of the country.
- Anchor to unitSystemunit•Unit
System System! non-null The unit system used in the country.
- Anchor to marketmarket•MarketDeprecated
Was this section helpful?