Product publishing to sales channel and productSet

If I want to create a product using the productSet mutation, I need to first perform that mutation and then call the publishablePublish mutation to publish it to the sales channel. This means two separate API calls are required.

Is there a way to create and publish a product in a single API call that also publishes it to sales channels?

Hi Mise,

Currently, there is no single GraphQL mutation in the Shopify Admin API that allows you to both create a product and publish it to sales channels in one API call. As you found, you’ll need to use the productSet mutation to create or update the product and then use the publishablePublish mutation to publish the product to a sales channel.