Skip to main content
object

Requires read_locales access scope or read_markets_home access scope.

A locale that's been enabled on a shop.

String!
non-null

The locale ISO code.

[MarketWebPresence!]!
non-null

The market web presences that use the locale.

String!
non-null

The human-readable locale name.

Boolean!
non-null

Whether the locale is the default locale for the shop.

Boolean!
non-null

Whether the locale is visible to buyers.


Was this section helpful?

query

Returns the locales enabled on a shop. Each locale represents a language for translations and determines how content displays to customers in different markets.

Use the optional published argument to filter for only the locales that are visible to customers. The response includes the ISO locale code, whether it's the shop's primary locale, and which MarketWebPresence objects use each locale.


Was this section helpful?

mutation

Adds a locale for a shop. The newly added locale is in the unpublished state.

mutation

Updates a locale for a shop.


Was this section helpful?