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)