Publish on all my sales channels GRAPHQL Admin API (publishablePublish mutation)

I try to activate products for sales channels with publishablePublish - GraphQL Admin

Previously you could activate all sales channels for a product with “global” when publishing. Does this no longer work with GraphQL? What is the solution here to avoid having to check all sales channel IDs?

Hi,

From looking into this, there doesn’t seem to be a direct way to indicate that a product should be activated for all available sales channels so you will need to use the shop query to retrieve the list of available sales channels and their IDs. Then you can use these as input values for the publishablePublish mutation. You could explore storing these values separately to avoid needing to query every time.