Deleting an existing product is not possible. Once a product is created, it can only be set to inactive through the API.
To prevent a product from being displayed, you must set it to inactive by using the /api/v2/product/set endpoint. To specify which product's status you wish to modify, please identify the product using the following fields
-
event_id:Event ID. The unique identifier for the event.(integer) -
id:Product unique identifier. (integer) -
status:Product status 0-inactive
To obtain a product ID, please check HERE