The product delete API allows you to delete all variants belonging to a product. Please note that this API only works if your products have multiple variants and you send them as individual products to Releva as described in the Product Update API documentation

Do I need to call it?

Yes, you need to call it whenever a product is deleted from your catalogue.

Request Parameters

You may perform requests to the API using the following curl equivalent:

curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <secretKey>' -XDELETE<productId>

Response Format

A successful response will return HTTP Status 202 with an empty resposne body ({}).

An error response will return a HTTP 4xx or 5xx status code and have the following structure:

  "message": "A description of the error and how to fix it, if it's a client error."