Smart Collection Returns No Products When Using status:active Filter

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.

For Ref:

with status:active collection on Admin

API Response:

without status:active collection on Admin

API Response:

FYI, with the new collections there is no longer ‘smart’ or ‘manual’ collections.

@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

Hi,
What API version are you on and what exact query are you using?

@radioact, using **API version2026-04**and fetching the collection by its collection ID using the Admin GraphQL API. Here is the query we’re using:

shop.with_shopify_session do |session|
  query = <<~QUERY
    query GetCollection {
      collection(id: "gid://shopify/Collection/425386377456") {
        id
        title
        handle
        sortOrder
        ruleSet {
          appliedDisjunctively
          rules {
            column
            relation
            condition
          }
        }
        products(first: 5) {
          nodes {
            id
            title
          }
        }
      }
    }
  QUERY

  client = ShopifyAPI::Clients::Graphql::Admin.new(session: session)

  client.query(query: query)
end

Try 2026-07 it’s where all the new things dropped without concern for who can’t upgrade to latest easily.

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.

Thanks for the suggestion! By switching to API version 2026-07, it’s working perfectly.

Really appreciate the help! :raising_hands: