With the release of international domains, shops can now assign a country and language to individual domains. As of 2020-10, a shops eligibility for international domains can be determined via the internationalDomains field.
For more information, please see the GraphQL API documentation.
Please note that before you redirect a shop to an enabled language you should first check internationalDomains and domain localization to confirm which languages are available on which domains.
Failing to do so and redirecting to a domain which doesn't support the language would result in a 404.