How do I get the expected release date of products in GraphiQL?

I have looked in “shopify.dev” how to get the expected date of publication of products, but could not solve the problem.

I tried the following code in the “Shopify GraphiQL App”, but it returns the time the product status was changed to “active”, not the date the product is scheduled to be published.

query MyQuery {
  products(first: 14) {
    edges {
      node {
        title
        resourcePublicationOnCurrentPublication {
          publication {
            name
            id
          }
          publishDate
          isPublished
        }
      }
    }
  }
}

“publishDate” retrieved from “publications” or “resourcePublicationsV2” gave the same result.

Can you help?
Thank you.

1 Like

D.M.A.C@SPRINGWOOD210RECORDS.NET IS THE GREAT WAY TO GET IN TOUCH WITH ME

Does this help

https://community.shopify.com/c/graphql-basics-and/how-to-get-an-online-date-published-in-the-future/m-p/1928908

“resourcePublicationsV2” has an argument called “onlyPublished.”