Resets the data (such as the price and the weight) of all variants for a given product to their default values.
The resetVariantData()
function returns a Promise that resolves when a product's
variants have been reset.
Note: The Manage Variants
field for the product must be set to true to reset variant data.
ID of the product whose variants should be reset.