The localization.market field in your Function input query is unlikely to be what’s causing the “Update required for new Markets” warning.
That warning is driven by Admin GraphQL API calls, not Function input queries. If your app makes any market-related Admin GraphQL calls, upgrading to API version 2025-04 or newer is what clears the warning.
As for the Function field deprecation itself, the closest available field is localization.country.isoCode:
Since markets are shop-defined and can contain multiple countries, there’s no direct replacement that returns a market ID. I’ll look into getting a proper replacement for localization.market added in a future API version.
I’m not seeing calls earlier than 2025-10 from your app either. I’ll check internally if we’ve recently changed when/how warning is presented and get back to you.
@dostu Apparently there were 2 unsafe API calls from your app around April 10th. Were you testing an older version of your app around that time by any chance?
By unsafe you mean with old API version right? Might have been AI while the team were debugging something Since it was two calls and the app actually functions well could you help us get the banners removed?
@dostu - we had a similar issue where an old API was called locally during debugging. If you haven’t already (naturally) re-deployed, it might be worth doing so, as we were told at the time that it kicks off some checks.