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

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 !

Sorry to find nobody answered this, I’m struggling with the same and the solution seems to be to make another request to the Product Listing resource with the product id and your API token.

I’m trying to find a simpler way because this implies a new request for each product we create and some of our clients have a lot of products. The only bright side I can find is that I need to do this only on create (or at least I hope so).