Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Checkout : Customer Locale

Checkout : Customer Locale

Blessy
New Member
7 0 0

How does customer-locale value in checkout api response determined? is it from browser settings ?

Replies 3 (3)

KarlOffenberger
Shopify Partner
1873 184 902

Good question.

Did a quick test using browsers in different locales but customer_locale was always "en" which is also what the store locale is. Thus, I suspect any orders placed via the store will extend that locale to the customer_locale.

@Shopify - clarification?

KarlOffenberger
Shopify Partner
1873 184 902

Hmm, even after changing the stores language to "de", still customer_locale remains "en". Confusing.

fhferreira
Visitor
1 0 0

We can send "order" customer_locale through the API or not? SHOPIFY said that param is "read-only" on API doc. 

https://shopify.dev/docs/admin-api/rest/reference/orders/order#create-2021-01