deleteProduct( )


Deletes an existing product.

The deleteProduct() function returns a Promise that resolves when the product with the given ID is deleted.

Method Declaration
Copy
Method Parameters
productIdstringRequired

ID of the product to delete.

Did this help?