I’m facing an issue with a Smart Collection when fetching its products through the Admin GraphQL API using the collection ID.
I’m using the collection(id: ...) query to fetch the products. When I fetch the collection products without a status filter, I get the expected product list.
However, when I add status:active along with the other conditions/filters, the API returns no products, even though the products are visible as active products in the Shopify Admin and are included in the Smart Collection.
For example, the behavior is:
collection(id) + other conditions → products returned correctly
collection(id) + status:active + other conditions → no products returned
Shopify Admin → products are visible in the Smart Collection and appear active
Shopify’s documentation confirms that status:active is a valid product filter, and the collection query supports retrieving products for a collection by collection ID. Shopify
Is there any limitation or specific behavior when applying status:active while fetching products from a Smart Collection?
Could this be an API issue, or is there something specific I need to handle when applying the status filter to Smart Collection products?
If anyone has experienced the same behavior, I’d appreciate any guidance.
@Luke, used the term “smart collection” only to refer to the condition-based collection for context.
actual concern is that when fetching the collection by collection ID through the GraphQL API, I’m not getting the expected respnse when adding the status:active filter along with the other conditions
Oh it’s pre 2026-07. Yes, this is probably the issue, since they introduced combined universal collection since 07, they can’t guaranty successful returns of mixed collections in previous api versions. And it seems somehow affects your case.
Switching to 2026-07 should resolve your issue.