Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

How to set the appropriate customer_locale on order entity

3 0 1

According to the API specs the customer_locale field is part of the order (see here, this is also what's been advertised to be part of the order (


However i see something totally different when i look into the values we actually get in the the customer_locale field on the orders we receive from many Shopify shops through the through the Order API's. We get some weird customer_locale values that are not valid according to the IETF BCP47: Testify the following image:
















This seems like a bug to me, but how can we get the actual customer_locale in the order?

Replies 0 (0)