# Delete Product

Deletes the Product resource identified by the given identifier.
The product's variants are not deleted: they remain, without a product (`prod_ref` empty),
and their modification date is updated. Delete them first with `DELETE /Variants({id})` if needed.
## Authentication
Requires a valid API key in the `X-API-KEY` header.
## Response
**204 No Content** — Product deleted.
## Error Responses
- **401 Unauthorized**
 — Missing or invalid API key. Returned by the API gateway as

`{ "message": "Unauthorized", "request_id": "d8aafa5b8f3e400b60bea0123dd33317" }`
.
- **403 Forbidden**
 — The API key does not have write permissions for this operation.
- **404 Not Found**
 — Product with the given identifier does not exist.
- **500 Internal Server Error**
 — Unexpected technical error.

## Example
**Request:**

```http
DELETE /Products(456) HTTP/1.1
X-API-KEY: your-api-key-here
```
**Response:**

```http
HTTP/1.1 204 No Content
```

Endpoint: DELETE /Products({productId})
Version: 2.0.0

## Description:

  - `Authentication` ()
    Requires a valid API key in the `X-API-KEY` header.

  - `Response` ()
    **204 No Content** — Product deleted.

  - `Error Responses` ()
    - **401 Unauthorized**
 — Missing or invalid API key. Returned by the API gateway as

`{ "message": "Unauthorized", "request_id": "d8aafa5b8f3e400b60bea0123dd33317" }`
.
- **403 Forbidden**
 — The API key does not have write permissions for this operation.
- **404 Not Found**
 — Product with the given identifier does not exist.
- **500 Internal Server Error**
 — Unexpected technical error.

  - `Example` ()
    **Request:** ```http
DELETE /Products(456) HTTP/1.1
X-API-KEY: your-api-key-here
``` **Response:** ```http
HTTP/1.1 204 No Content
```

## Path parameters:

  - `productId` (integer, required)
    Product resource identifier

## Header parameters:

  - `X-API-KEY` (string)
    Tenant's API key (required)

  - `Accept-Language` (string)
    Accept-Language header (not used for delete, accepted for consistency)

## Response 204:

  - `204` (unknown)
    No Content

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (application/json):

  - `validationFailures` (object)

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `message` (string)

  - `request_id` (string)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `message` (string)

  - `request_id` (string)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (integer)

  - `detail` (string)

  - `instance` (string)

## Response 500:

  - `500` (unknown)
    Internal Server Error

## Response 500 fields (application/json):

  - `error` (string)

  - `details` (any)

