deleteVariants - Product Module Reference
BetaThis documentation provides a reference to the deleteVariants method. This belongs to the Product Module.
This method is used to delete ProductVariant. This method will completely remove the ProductVariant and they can no longer be accessed or retrieved.
Example
Parameters
productVariantIds
string[]RequiredThe IDs of the ProductVariant to be deleted.
Returns
Promise
Promise<void>RequiredResolves when the ProductVariant are successfully deleted.
Was this section helpful?