- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
deleteProductVariants - Product Module Reference
This documentation provides a reference to the deleteProductVariants
method. This belongs to the Product Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
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[]The IDs of the ProductVariant to be deleted.
Returns#
Promise
Promise<void>Resolves when the ProductVariant are successfully deleted.
Was this page helpful?