Hi,
We’re seeing a deprecated API call warning in our Partner Dashboard for QueryRoot.customersCount with the message:
As of GraphQL Admin API version 2025-07, count fields by default stop at 10,000. To retrieve an uncapped count, explicitly set its
limitargument tonull.
However, we’ve already addressed this:
-
Our API version is
2025-10(set in our app config) -
We explicitly pass
limit: nullin the query:
{
ordersCount(query: "status:any", limit: null) { count }
customersCount(limit: null) { count }
}
-
This is the only place in our entire codebase that calls
customersCount— we’ve verified with a full code search. -
The fix was deployed on March 18, 2026, but the “Last detected” date keeps updating (most recently March 22).
We’ve confirmed:
-
No other code path calls
customersCount(REST or GraphQL) -
No extensions reference this query
-
The
makeGraphQlApihelper uses API version2025-10in the request URL
Questions:
-
Does the Partner Dashboard detection cache results, or does each “Last detected” update represent an actual API call?
-
Could this be a false positive when
limit: nullis already set? -
Is there a way to verify which exact request is triggering this warning (e.g., request ID or timestamp)?