Shopify Partner
3 0 6

One of the users of our private app on our Shopify Plus store is asking if we'd be able to automatically flag products as published on all of our available channels.

From some browsing of the API documentation it looks like the autoPublish flag on the Publication object might be what I want to use. At the moment all of our publications have it set to false. 

I have tried to update it on one of the publications using the publicationUpdate mutation and it appears to have worked (it doesn't return an error and returns a version of the Publication with the flag set to true) but if I then requery the publication it's still set to false.

My private app has the read/write publication permission.

Here is the query:

mutation publicationUpdate(
        \$id: ID!,
        \$input: PublicationUpdateInput!
    ) {
        publicationUpdate(id: \$id, input: \$input) {
            publication {
            userErrors {

And the variable:

        "id": "gid://shopify/Publication/xxxxxxxxxxxxx",
        "input": {
            "autoPublish": true


And the return from the api is:

{"data":{"publicationUpdate":{"publication":{"id":"gid://shopify/Publication/xxxxxxxxxxxxx","name":"Google & YouTube","autoPublish":true},"userErrors":[]}},"extensions":{"cost":{"requestedQueryCost":10,"actualQueryCost":10,"throttleStatus":{"maximumAvailable":1000.0,"currentlyAvailable":990,"restoreRate":50.0}}}}


Any idea if I am doing something wrong or if there's a bug somewhere?

Thanks in advance for any help!


Replies 2 (2)

2 0 2

We've seen the same behavior. Our mutation query successfully changes autoPublish to true (and it works when new products are added), but querying the publication returns autoPublish:false which is incorrect.

Shopify Partner
6 0 2

We're seeing the same thing here within both the test shopfront and a live trial (neither are Plus). It works as you would expect, whether adding from the API or the frontend. However, it's impossible to tell if it's set which isn't particularly reassuring.