GraphQL Admin API products query

Topic summary

Main issue: Identify valid values for Shopify Admin GraphQL products query filters, especially published_status (and initially also product_configuration_owner, product_publication_status, publishable_status).

Key points:

  • Product object exposes status but not publishedStatus; ProductPublication has an isPublished boolean, suggesting related functionality but not a direct mapping.
  • Empirical finding: published_status accepts values published, unpublished, and any. A query combining status:ACTIVE AND published_status:published returned results successfully.

Latest development:

  • Using these values in the Shopify GraphiQL App triggers a warning. The current docs (2024-10) do not list such values for the published_status filter.
  • Despite the warning, results appear correct. One participant notes documentation is now more detailed than when the values were first discovered.

Outcome and open questions:

  • Working behavior observed, but official support is ambiguous due to documentation mismatch and IDE warning.
  • No confirmed values provided for the other filters (product_configuration_owner, product_publication_status, publishable_status).
  • No final resolution; the thread remains open regarding the authoritative, documented filter values.
Summarized with AI on December 13. AI used: gpt-5.

I am referring this doc
https://shopify.dev/docs/api/admin-graphql/2024-04/queries/products?language=Remix&example=Get+the+first+10+products+updated+after+the+specified+date#argument-query-filter-status

Could anyone please let me know what are the possible values for the
query filter:
product_configuration_owner, product_publication_status, publishable_status, and published_status

For instance my query is

query {
    products(first: 10, query: "status:ACTIVE AND published_status:") {
      edges {
        node {
          id
          status
          handle
          title
          updatedAt
        }
      }
    }
  }

so what are the values that I can compare with the published_status

I expected to see publishedStatus on the https://shopify.dev/docs/api/admin-graphql/2024-04/objects/Product Product Object definition, but I only see status. There is a separate object https://shopify.dev/docs/api/admin-graphql/2024-04/objects/ProductPublication that has an isPublished boolean, maybe that is what is getting mapped here.

@awwaiid I tried but it didn’t work.

I got the filter values for **published_status** which are published, unpublished and any.

query {
    products(first: 10, query: "status:ACTIVE AND published_status:published") {
      edges {
        node {
          id
          status
          handle
          title
          updatedAt
        }
      }
    }
  }

It worked.

Hi!
I’m trying to make a similar request in the Shopify GraphiQL App and the following warning is displayed in my response:

There really are no such values for published_status in the manual: https://shopify.dev/docs/api/admin-graphql/2024-10/queries/products#argument-query-filter-published_status

So the question arises: how correct is it to use such a query? Just ignore the warning? The results look correct.

@IgorGorkov , you are absolutely right. I’m also seeing the same warning now, and the documentation for all versions is much more detailed and improved compared to when I was looking for it. Although I did find those values somewhere back then, which I can’t locate the link now, otherwise, I would have shared it. But it’s good to see that we now have more comprehensive documentation to refer to.