Skip to main content
object

Information about the shop's configured localized experiences, including available countries and languages. The country and language fields reflect the active localization context, which you can change using the @inContext directive on queries.

Use availableCountries to list all countries with enabled localized experiences, and availableLanguages to get languages available for the currently active country. Each Country includes its own currency, unit system, and available languages.

•[Country!]!
non-null

The list of countries with enabled localized experiences.

Show fields
•[Language!]!
non-null

The list of languages available for the active country.

Show fields
•Country!
non-null

The country of the active localized experience. Use the @inContext directive to change this value.

Show fields
•Language!
non-null

The language of the active localized experience. Use the @inContext directive to change this value.

Show fields
•Metafield

The metafield resolved across the markets for the active localized experience. In cases where multiple markets set the metafield, the most specific market's metafield value applies. Use the @inContext directive to change this value.

Show fields

Arguments

•String!
required

The identifier for the metafield.

•String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.


•[Metafield]!
non-null

A list of metafields resolved across the markets for the active localized experience. In cases where multiple markets set a metafield, the most specific market's metafield value applies. Use the @inContext directive to change these values.

Show fields

Arguments

•[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.

The input must not contain more than 250 values.

Show input fields

•Market!
non-nullDeprecated
Show fields

Was this section helpful?

•query

Returns the shop's localization settings. Use this query to build country and language selectors for your storefront.

The country and language fields reflect the active localized experience. To change the context, use the @inContext directive with your desired country or language code.

Show fields

Was this section helpful?