Hi,
I have a question about the admin API. We are trying to connect to the API and we need the locales from the shop but are having a hard time determining what is going on there.
The problem is as follows:
In the api there are several locales, below i will list them with their possible values.
-
shopLocales (nl/fr/de/en) → which seem to be the same as product locales (translations)
-
availableLocales (whole list of a bunch of locales none of which are used)
-
orders customerLocale (nil)
-
customers locale (fr-FR, fr-BE, de-DE etc)
Why is there a difference between customers locale and product locale? Also why is customerLocale empty on an order, while the customers locale is filled in? And how come it is not possible to filter the API on that field?
We have a customer who has multiple domains, each of which has their own locale, which we can get by querying the shop’s domains. But we have no way of querying just one domain, and there are no fields indicating which domain/locale was used to sign up a customer or create an order etc.
Is there a way for us to get this information?
Kind regards,
Jeroen