Hi… I’m creating new products and then publishing them to specific sales channels, but I’m finding they always publish to the “Online Store” even if I haven’t published to that channel.
What is the process flow for creating products and having them only show up on specific sales channels?
I’m currently doing this:
-
Creating the Product using productCreate.
-
Creating the Variants of the product using productVariantsBulkCreate.
-
Publishing to specific channels based on criteria using publishablePublish.
In my case, I don’t want products posted to my Online Store channel (or any other store that offers visuals) if they do not have images. I have the process flow working and verified that only sending my Point of Sale channel to the publishablePublish mutation, but the product in my store shows it’s actually published to both Point of Sale AND Online Store when it should only be Point of Sale. The only thing I can think of is that it’s somehow setting it to Online Store when it is created by default.
My target API version is 2024-10 currently.
Thank you!