Update / Change all customers locale

Topic summary

A developer needs to batch update all customer locales from ‘DE’ (German) to ‘EN’ (English) using GraphQL.

Recommended Solution:

  • Use customerUpdate mutation combined with bulkOperationRunMutation
  • Bulk operations are designed for asynchronously importing large data volumes and can update multiple customer locales simultaneously

Implementation Details:

  • GraphQL mutations can run within the Shopify GraphQL App
  • However, preparing and uploading the JSONL file must be done outside the GraphQL App
  • Shopify provides documentation with process diagrams showing how bulk importing works

Status: The question about executing everything within the Shopify GraphQL App remains partially answered—some steps require external preparation while mutations themselves can run in the app.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Hello,

I need to change all customer locale from standard ‘DE’ to ‘EN’.

How can I do this in batch with GraphQL?

https://shopify.dev/api/admin-graphql/2023-01/mutations/customerupdate

Thanks for your help!

Regards

Cem

Hi @bordbar :waving_hand:

The [customerUpdate](https://shopify.dev/api/admin/graphql/reference/customers/customerupdate) mutation can be used with [bulkOperationRunMutation](https://shopify.dev/api/admin/graphql/reference/bulk-operations/bulkoperationrunmutation) to update multiple customer locals at a time. Bulk mutations are designed to import large volumes of data asychronously, and we have an great guide here on how to use it to bulk import data into Shopify.

Hope that helps!

thanks for your feedback.

Can this be done in Shopify GraphiQL App ?

Ciao

Cem

As highlighted in this process diagram from the docs, there are steps in the bulk operation process that are outside of GraphQL. The GraphQL mutations can be run on the GraphiQL app, where as preparing and uploading the JSONL file will need to executed outside of GraphiQL app.

1 Like