FROM CACHE - en_header

Storefront API Notification email language

davidgg
Tourist
7 1 3

Hi,

I'm implementing a full multi-language headless shop. 

When using the API to perform some actions, like customer reset password (customerRecover mutation), we can't select the language of the notification email that the user is receiving. How can we specify the language of the notification? We've a English and Spanish version but only the English version is used.

I've been using the Accept-Language: es header that works when retrieving content data (products, etc) but in this case, it's like it doesn't have any effect.

Replies 2 (2)
raroul
New Member
2 0 1

Up ! Same issue here 😕

Maacck
Shopify Partner
20 1 4

I think customer_locale property were set through checkout page.

You may refer to the following post, it seems like to be the only work around

https://community.shopify.com/c/Shopify-APIs-SDKs/The-customer-locale-property-How-is-it-set/td-p/77...