For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
          • MUTcreateAppExtension
          • MUTupdateAppExtension
          • MUTdeleteAppExtension
          • MUTcreateChannel
          • MUTremoveProductBasicInformationOverrides
          • MUTremoveProductSeoInformationOverrides
          • MUTremoveProductOptionsOverrides
          • MUTremoveProductStorefrontDetailsOverrides
          • MUTremoveProductPreOrderSettingsOverrides
          • MUTsetProductBasicInformation
          • MUTsetProductIsFeatured
          • MUTremoveProductIsFeaturedOverride
          • MUTsetProductSeoInformation
          • MUTsetProductStorefrontDetails
          • MUTsetProductPreOrderSettings
          • MUTsetProductOptionsInformation
          • MUTsetProductUrlPath
          • MUTremoveProductUrlPathOverride
          • MUTsetProductModifiersInformation
          • MUTremoveProductModifiersOverrides
          • MUTremoveProductCustomFieldsOverrides
          • MUTupdateProductCustomFields
          • MUTaddImagesToProduct
          • MUTremoveImagesFromProduct
          • MUTupdateProductImageProperties
          • MUTremoveProductImagePropertiesOverrides
          • MUTsetSharedProductModifiersInformation
          • MUTremoveSharedProductModifiersOverrides
          • MUTsetSharedProductOptionsInformation
          • MUTremoveSharedProductOptionsOverrides
          • MUTsettings
          • MUTupdateTranslations
          • MUTdeleteTranslations
          • MUTaddLocale
          • MUTdeleteLocale
          • MUTupdateLocale
          • MUTcreateEventBridgeWebhook
          • MUTcreatePubSubWebhook
          • MUTupdatePubSubWebhook
          • MUTupdateEventBridgeWebhook
          • MUTcreateHttpsWebhook
          • MUTdeleteWebhook
          • MUTupdateHttpsWebhook
          • MUTcreateMetafield
          • MUTupdateMetafield
          • MUTdeleteMetafield
          • MUTreassignMetafieldsOwner
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLAdminMutations

updateLocale

Example Query
1mutation ExampleMutation($input: UpdateLocaleInput) {
2 updateLocale(input: $input) {
3 locale {
4 code
5 status
6 isDefault
7 }
8 errors
9 }
10}
Variables
1{
2 "input": {
3 "channelId": "example",
4 "code": "example",
5 "status": "ACTIVE",
6 "isDefault": true
7 }
8}
Example response
1{
2 "data": {
3 "updateLocale": {
4 "locale": {
5 "code": "example",
6 "status": "ACTIVE",
7 "isDefault": true
8 },
9 "errors": [
10 {
11 "id": "example",
12 "message": "example"
13 }
14 ]
15 }
16 }
17}
Updates a locale in a channel.
Was this page helpful?
Previous

deleteLocale

Next

createEventBridgeWebhook

Built with

Arguments

inputUpdateLocaleInputRequired

Returns

an optional UpdateLocaleResult
errorslist of UpdateLocaleErrors
The errors that occurred during the update locale mutation.
localeLocale
The locale that was updated.