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
A developer needs to batch update all customer locales from ‘DE’ (German) to ‘EN’ (English) using GraphQL.
Recommended Solution:
customerUpdate mutation combined with bulkOperationRunMutationImplementation Details:
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.
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 ![]()
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.