Thanks to visit codestin.com
Credit goes to docs.stripe.com

Delete a product 

Products
Products
Delete a product

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.

Parameters

No parameters.

Returns

Returns a deleted object on success. Otherwise, this call raises an error.

DELETE /v1/products/:id
curl -X DELETE https://api.stripe.com/v1/products/prod_NWjs8kKbJWmuuc \
-u "sk_test_26PHem9...U623DfE1x4sdsk_test_26PHem9AhJZvU623DfE1x4sd:"
Response
{
"id": "prod_NWjs8kKbJWmuuc",
"object": "product",
"deleted": true
}