Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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