Skip to main content
DELETE
/
products
/
:id
Delete a product by id.
curl --request DELETE \
  --url https://base_url/api/v1/products/:id \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "CLIENT_INVALID_REQUEST_BODY",
    "doc_url": "https://sales-tax-docs.commenda.io/",
    "title": "Failed to validate the request body",
    "detail": "<string>",
    "status": 400,
    "instance": "<string>",
    "Errors": [
      {
        "details": "<string>",
        "pointer": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Delete a product response.