Shop Locale
Requires access scope or access scope.
A locale that's been enabled on a shop.
Anchor to FieldsFields
- Anchor to localelocale•String!non-null
The locale ISO code.
- Anchor to marketWebPresencesmarket•[Market
Web Presences Web Presence!]! non-null The market web presences that use the locale.
- Anchor to namename•String!non-null
The human-readable locale name.
- Anchor to primaryprimary•Boolean!non-null
Whether the locale is the default locale for the shop.
- Anchor to publishedpublished•Boolean!non-null
Whether the locale is visible to buyers.
Anchor to QueriesQueries
- •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
publishedargument 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 whichobjects use each locale.
Anchor to MutationsMutations
- •mutation
Adds a locale for a shop. The newly added locale is in the unpublished state.
- •mutation
Updates a locale for a shop.