Can I delete more than 1,000 variants with the productVariantsBulkDelete mutation?

Topic summary

A user asks whether the productVariantsBulkDelete mutation can delete more than 1,000 variants at once, especially given the increased variant limit of 2,000. They want to remove existing variants while keeping only the first one.

Current Limitations:

  • productVariantsBulkDelete supports up to 250 variants only
  • Deleting 2,000 variants would require running the mutation 8 times

Recommended Alternatives:

  • Use productOptionsDelete to remove all options, which automatically removes associated variants
  • Use ProductSet with empty options and variants arrays to reset the product to its default variant
  • Both approaches return the product with only a default variant

Unresolved Question:
The user asks if they can delete all variants except the default while keeping existing options, mentioning unsuccessful attempts with productOptionUpdate. This specific scenario remains unanswered, leaving the discussion open.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

HI @jam_chan

productVariantsBulk* are currently meant to support up to 250 variants.

I want to remove the existing variants and only keep the 1st one.
It sounds like you want to delete the options as well, you can call productOptionsDelete with strategy Position.
Alternatively you can call ProductSet with the options and values you would like to have for the product