Please go to Products >> Click on actions >> Click on upload items >> Select product has variants >> Download the file and you can update the product data with variants and upload it.