write_channels

Highlighted
Tourist
3 0 2

I'd like to perform a publishablePublish GraphQL mutation, but I cannot find the write_channels (or read_channels, for that matter) permission in the Admin API Permissions page (https://<my store>.myshopify.com/admin/apps/private/<app ID>).

Is there something I'm missing? Do I need to do this through a public app with OAuth instead?

Thanks!

Update: I've tried using a public app, and the Shopify OAuth page says "Oauth error missing_shopify_permission: write_channels, read_channels". So, I suppose it's just not possible to use the Publishable API methods, even though they're publicly documented?

1 Like
Shopify Staff
Shopify Staff
277 0 51

Hey Nigel,

The ability to write_channels is a Shopify protected scope as in you need Shopify approval to use it. We're not currently opening this up to partner yet as we make some important changes to the underlying models that power this API, but I can certainly pop in this forum thread and let you know once it's possible/open to partners.

 

 

 

0 Likes
Shopify Staff (Retired)
Shopify Staff (Retired)
531 0 88

Hey Nigel,

Adding to Jordan's response, the publishablePublishToCurrentChannel mutation is available to all clients and will allow you to publish products to your own sales channel.

As Jordan said, the ability to publish to a different client is currently a protected action.

Hope that helps.

1 Like
Tourist
3 0 2

Hey folks,

Makes sense. Publishing to other sales channels (i.e. the JS SDK and the Facebook sales channel) is in fact what we need. We can work around this with manual labor for now but I'd definitely like to be notified when write_channel is available to partners.

Thanks for the response!

0 Likes
Shopify Partner
5 0 0

Hi @Jordan/@Jamie, do you have any ETA on this?   

I was ready to do directly but it seems API(e.g.Facebook) is closed and available only for Shopify.

   https://developers.facebook.com/docs/pages/shops-api

-Chuck

 

 

 

0 Likes