Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Set Sales Channels with New Product POST request

Solved

Set Sales Channels with New Product POST request

DoubleShot
Excursionist
12 2 2

I'm sending a POST request to create a new product, and it works but the only sale channel published to is Point of Sale, not getting published to Online Store or Shop. I have tried setting the published scope to "global" but it does not change this.

Accepted Solution (1)

DoubleShot
Excursionist
12 2 2

This is an accepted solution.

I managed to do this with extra GraphQL API calls (https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/publishablePublish), but I still wonder if it's possible to do in the original post request.

View solution in original post

Reply 1 (1)

DoubleShot
Excursionist
12 2 2

This is an accepted solution.

I managed to do this with extra GraphQL API calls (https://shopify.dev/docs/api/admin-graphql/2024-07/mutations/publishablePublish), but I still wonder if it's possible to do in the original post request.