I'm trying to change the publication date of my products to a future date.
I want to use productUpdate, but publishDate/publishOn/publishedAt/productPublications are all deprecated.
How would I use publishablePublish?For publishablePublish, I'm not able to pass in the ID of the product I want to update. I only want to update individual products at a time and not collection.
The appropriate scopes for Read/write publications hasn't been released yet which is required for publishablePublish
Full list of available scopes below:
So you can't use graphQL at the moment (I think)
In a previous app to set the publish date, I actually had to axios call the REST API just to do this.
You can use the REST api
And update the published_at value: