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 899

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 899

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