shopLocaleDisable mutation
Disables a locale for a shop.
Required access
write_locales access scope.
On this page
Interactive example
This is an example mutation query. Use the embedded interactive tool below to edit the query.
Hint: use Ctrl + Space for autocompleting fields.
mutation shopLocaleDisable($locale: String!) { shopLocaleDisable(locale: $locale) {} } { “locale”: “placeholder” }
<font style="color:#1F61A0;">locale</font><font style="color:#1F61A0;">userErrors</font> <font style="color:#555555;">{</font><font style="color:#1F61A0;">field</font><font style="color:#1F61A0;">message</font><font style="color:#555555;">}</font>
Arguments
| Argument | Description | 
|---|---|
locale( [String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)) REQUIRED  | 
Specifies the locale to disable. | 
Return fields
- locale (
[String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
The locale identifier that was disabled. - userErrors (
[[UserError!]!](https://shopify.dev/docs/admin-api/graphql/reference/usererror))
List of errors that occurred executing the mutation. 
