I have a script to copy any new product from Webflow CMS to medusa product table. The script uses following API to create product
const product = await medusa.admin.products.create(productPayload);
This creates product with default SalesChannel and hence displayed on the storefront by default.
Now, I converting the script to a scheduled job. For that I have to use productService and create products using the following API call
const product = await productService.create(productPayload);
However, this leaves the Sales Channel field blank and hence the product is not displayed on the storefront.
What is the easiest way to have productService.create to create a product with default sales channel?