Or rather how is multilang supposed to work when qerying data from the Admin API in general?
This is my specific usecase:
Suppose I’m only using a single Storefront with multiple languages.
I’d like to select certain products that have some text in a specific language (in my case) in a translatable custom field. So far what I have achieved is getting the products when the entry in the (default?) English language matches:
As mentioned, this returns matching producs that have “some_key_in_a_specific_language” in the english translation of that custom field.
Now, how can I perform the same request querying another language? I struggle to find any documentation on switching the context used when querying the Admin API.
Furthermore, how can I retrieve translations of products or other data in general through the API?
Writing translatable data seems to be no problem as different translations can be supplied within the payload used to create the product as described here: