Elmatajer · API docs
Products

Delete a product

Removes the product from the store. Past orders keep their lines.

DELETEhttps://elmatajer.com/api/v1/vendor/products/{id}
Permission: products.write

Path parameters

NameTypeRequiredDescription
idintegerYesThe product id.

Request

curl -X DELETE "https://elmatajer.com/api/v1/vendor/products/4904" \
  -H "Api-Key: YOUR_API_KEY" \
  -H "Accept: application/json"

Response 200

{
    "status": "ok",
    "data": {
        "deleted": true
    }
}