Back to Developer changelog

Locale fields are now appended with language and country codes

API

Effective December 10, 2021

If available, the language and country/region codes of a customer can now be appended to locale fields to provide more granularity for our partners. Affected fields are Order.customerLocale and Customer.locale in the GraphQL Admin API. For example, if a customer places an order in the french language within the France storefront of the shop, then the Order.customerLocale and Customer.locale fields will have fr-Fr.

For more information, refer to the Order and Customer object fields.