Now I’m trying this (again).
I’ve had multiple correspondences with shopify support trying to get them to help me with getting a future publishing date (aka scheduled published date) through the graphql api. Now I’m trying to go even more low level, and I want to ask if anyone, can help me to structure a query, I would be grateful.
I have tried with this query:
{
productByHandle(handle: "gg36091") {
resourcePublicationOnCurrentPublication {
isPublished
publishDate
}
resourcePublications(first: 10) {
nodes {
isPublished
publishDate
}
}
resourcePublicationsV2(first: 10) {
nodes {
isPublished,
publishDate
}
}
}
}
which simply returns
"data": {
"productByHandle": {
"resourcePublicationOnCurrentPublication": null,
"resourcePublications": {
"nodes": []
},
"resourcePublicationsV2": {
"nodes": []
}
}
},
even though you can clearly see on the screenshot attached, that this product is scheduled for future publishing.
Can any one help me structure a graphql query, that returns this publishing date?
Thanks!
