GraphQL Storefront API Complexity Scoring Adjusted

Based on feedback from our developer community, we’ve adjusted the weighting of our GraphQL Storefront API’s complexity scoring in order to be more permissive. As a result, queries which may have previously been rejected on the basis of complexity may now pass the complexity check and be allowed.

The weighting of several nodes related to product subresources (child nodes of the Product type) have been adjusted, and the product.variants node in particular has been adjusted to support up to 250 variants in one request, from the previous limit of 50.

If you’ve hit the complexity limit in the past, feel free to try your query again to see if it’s now allowed.

We will continue to adjust this limit based on customer feedback as we learn more about how the GraphQL Storefront API is being used, as well as its performance and scalability characteristics.