What is the standard process for creating a new product with multiple variants via the Shopify GraphQL API?
I am creating a product with options, and then in a separate call, I am trying to create multiple variants. with productVariantsBulkCreate. However, the productCreate mutation also creates a single variant from the options, so sometimes the productVariantsBulkCreate mutation fails, because it is trying to create a Variant that already exists?
Should I delete this Variant before continuing? Is there a way to specify if a variant should exist in the productCreate call?
Thanks.