Main issue: Update the customer “locale” (notification language) via Shopify Flow after customer imports default to English.
What was tried:
Flow “Send HTTP Request” to Admin GraphQL customerUpdate. Early attempts had syntax errors (duplicate fields, missing customer id, missing bracket). A working Postman example was shared, and a Flow-safe mutation noted (avoid Liquid {{ }} conflicts).
Despite Flow showing “succeeded,” locale didn’t change—likely due to using an app API token where errors aren’t surfaced (GraphQL returns 200 with userErrors). Scopes/privacy permissions for customer data were suspected.
Resolution (latest update):
Use Flow’s “Send Admin API request” action instead of “Send HTTP Request.”
Select the customerUpdate mutation and provide only the variables (e.g., {“input”:{“id”:“{{ customer.id }}”,“locale”:“sv”}}).
No URL or API key needed; avoids token/scope issues.
Confirmed working: tagged customers’ locales updated (e.g., to Swedish), and notifications send in the correct language.
Notes:
“locale” controls the language of customer notifications.
Screenshots showed Flow runs succeeding; images not required to apply the fix.
Status: Resolved. Remaining uncertainty only around the prior token/scope/privacy cause.
Summarized with AI on December 16.
AI used: gpt-5.
according to some other posts, it might be possible to update customer language (aka “locale”). Issue comes from the fact when a customer is imported, the notifications are sent in English. Not possible to specify “locale”.
Someone suggested to use Shopify Flow and Send HTTP Request. I did try a few things, query is successful, but nothing is updated. I tried to use mutation customerUpdate, but not luck. Since Flow is out of scope for Shopify assistance, anybody have any hints, tips, adivices or solutions for this?
OK, I tested this in Flow and confirmed that it works. One nuance that I forgot…because Flow uses Liquid you cannot use {{ or }} anywhere or Flow will interpret it as liquid (solved by adding a space in between).
You are using an app’s API token. That might be just blocked because you aren’t providing all of the app details you need to in this API request. Since the request for GraphQL returns 200 even with errors but you can’t see the errors in Flow, it looks successful.
I’d recommend creating an API key for the shop (Settings / App and sales channels / develop apps / create an app) and make sure that API key can read and write customers.
I created a “custom app” based on Shopify’s documentation (and the same way you mentionned, by going to Settings / App and sales channels / develop apps / create an app). If that’s not the way to get API token, how can it be done?