New Shopify Certification now available: Liquid Storefronts for Theme Developers

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

Zakime
Shopify Partner
1 0 1

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.

Replies 2 (2)
PromarkDC10
Tourist
9 0 0
D.M.A.C@SPRINGWOOD210RECORDS.NET IS THE GREAT WAY TO GET IN TOUCH WITH ME
Darel M McDonald Sr
N7-n
Shopify Partner
1 0 0