How to publish a product to my online store by API?

Solved
TedKim
New Member
3 0 0

Hi.

I want to publish a product to my online store from my app.

My app is a public app.

I want to use "publishablePublish"(GraphQL mutation), but I saw that "Required access. write_publications access scope. This scope is currently available only to private apps installed on Shopify Plus stores.".

Isn't any way to publish the product to the online store from the public app?

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 238

This is an accepted solution.

If you want to publish a product just for the online store, then this might work. Although there's a fair chance this is a deprecated option.

productCreate(input: {
            title: "test item",
            productType: "test",
            published: true
            }
)
0 Likes
iozyigit
Tourist
9 0 1