Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
How does customer-locale value in checkout api response determined? is it from browser settings ?
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?
Hmm, even after changing the stores language to "de", still customer_locale remains "en". Confusing.
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