How to publish product on private app sales channel by using API's or Graphql ?

DSLR
Tourist
20 0 1

Hello everyone,

I have built a private app for creating a product which is part of a private apps sales channel.

We have directly assigned a product on admin side manually .

But I need to create a product which is a part of a private app by using API's or graphql .

I have tried to use this published scope but maybe this won't be help for publish product on private app sales channel.

 

"published_scope": "global" 

Whether the product is published to the Point of Sale channel. Valid values:

web: The product is published to the Online Store channel but not published to the Point of Sale channel.
global: The product is published to both the Online Store channel and the Point of Sale channel.

 

 

Is there any different way to achieve this ?

Please help me !