Everything works fine, when I use productVariantsBulkDelete graphql mutation to delete my variants. However, if the number of variants of the product is one after other variants are deleted , there will be an issue to track the inventory of the product.
Does anyone know how to solve this problem? or @Shopify_77 is this a bug on api endpoint?