Hi,
since apparently it is not possible anymore to publish new products directly in the product payload using ‘published_scope’ => ‘global’, and we are trying to avoid publishing the product with the publishablePublish mutation, i want to set certain publications to autoPublish = true.
When i run the publicationUpdate mutation with the above mentioned flag, the return shows autoPublish as true. When i query the mutation afterwards it comes back as false.
What a i missing here?
1 Like
Update: Might be a caching issue. The query keeps on returning false after setting the value to true in the mutation. New Products are added to the publication automatically now. So no idea what the issue is on shopifys part
Hey @Yannick_Klinke, that’s interesting and does sound cache related.
Do you notice if after a while if the response starts returning as true?
Hey @KyleG-Shopify, just checked up on it again, so about 20 hours later, and the behaviour is still the same. Query returns false but new products are added to all publications for which is changed autoPublish to true
Hey @Yannick_Klinke, thanks for sharing that. I tested on my end and see similar. I’ll look in to this further and report back what I find.
Hey @Yannick_Klinke, I have an update here. It does seem to be a cache issue as you expected. We are looking in to resolving this. I’ll update you once we do.