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

A list of locales available on a shop.


Was this section helpful?

mutation

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

Arguments

String!required

ISO code of the locale to enable.

Anchor to marketWebPresenceIdsmarketWebPresenceIds
[ID!]

The list of markets web presences to add the locale to.


Fields

ShopLocale

ISO code of the locale that was enabled.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.

mutation

Updates a locale for a shop.

Arguments

String!required

ISO code of the locale to update.

ShopLocaleInput!required

Specifies the input fields for a shop locale.


Fields

ShopLocale

The locale that was updated.

[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?