Update / Change all customers locale

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.