Create Product on all sales channels using the

retoba
New Member
2 0 0

I'm using POST /admin/api/2021-04/products.json to create a new product. But then it's only available on sales channel "Online Store". 
Properties set: published=true, published_scope: "global", published_at:<time stamp>
What do I have to do, to make it automatically appear on all channels (e.g. Facebook)?
Using the web admin UI a new product is automatically available on all channels. Is it possible to set a shop global property to have the same behaviour when creating a product using the REST API?

Thanks a lot for any help

Reto

0 Likes
retoba
New Member
2 0 0

Would it help to use the GraphQL AdminApi 'publishablePublish'?
But then how to find out the publicationID (in my case Facebook).

Any help is greatly appreciated - thanks a lot.

Reto

0 Likes