I am in the process of creating products through the API, and I have encountered a challenge in activating all the sales channels for each product. When I use the admin panel, the process is straightforward: I simply open a product, select ‘Sales Channels,’ and check all the checkboxes.
However, I am uncertain about how to replicate this process using the API. I have done some research and found a discussion on this topic at Shopify Community. Unfortunately, it appears that the channels API endpoint mentioned in the discussion is now deprecated.
I was wondering if anyone in the community has experience or knowledge on how to accomplish this task using the current API endpoints? Your assistance and guidance would be greatly appreciated.