---
title: "Bulk Delete Inventory Products (BETA)"
method: POST
path: "/products/{incomingIdentifier}/bulk/delete"
tags: ["Product Inventory"]
---

# Bulk Delete Inventory Products (BETA)

`POST /products/{incomingIdentifier}/bulk/delete`

## Request

- Base URL: `https://resources.uk.eagleeye.com`
- URL: `https://resources.uk.eagleeye.com/products/{incomingIdentifier}/bulk/delete`
- Auth: none declared. Required headers: `X-EES-AUTH-CLIENT-ID`, `X-EES-AUTH-HASH`

This API endpoint allows the calling unit to delete multiple inventory products for their child unit as specified by its `incomingIdentifier`. The request body must be a non-empty array of up to 100 products. The endpoint returns 200 when all requested products are deleted, 207 when deletion is partially successful, and 400 when all requested products fail.

## Path parameters

- `incomingIdentifier` string, string, required

## Headers

- `Accept-Encoding` '''' | ''gzip'' | ''deflate'' | ''gzip,deflate'' | ''deflate,gzip'', string
- `Connection` 'keep-alive' | 'close', string
- `Content-Type` string, string
- `X-EES-AUTH-CLIENT-ID` string, string, required
- `X-EES-AUTH-HASH` string, string, required
- `X-EES-TRANSACTION-ID` string, string

## Request body

- InventoryProductsBulkDeleteRequestEntity
  - `ids` string[], required: Product identifiers to delete in a single bulk request.

## Response `200`

All requested products were deleted successfully.

- InventoryProductsBulkDeleteResponseEntity
  - `successful` object
    - `total` integer: Total number of products successfully deleted.
    - `results` string[]: Product identifiers successfully deleted.
  - `failed` object
    - `total` integer: Total number of products that could not be deleted.
    - `results` object[]: Errors for products that could not be deleted.
      - `id` string: The product identifier that failed deletion.
      - `errorCode` string: Error code for the failed deletion.
      - `errorMessage` string: Human readable error message.

## Other responses

- `207`: Some requested products were deleted while others failed.
- `400`: Request failed due to schema validation errors or all submitted products failing deletion.
- `401`: EES AIR Refuse to process that particular Request due to Authentication error. This could be caused by missing mandatory AUTH header(s), invalid Hash calculation, invalid or inactive API Key used, etc
- `403`: EES AIR Refuse to process that particular Request due to Request Authorization error(s). This indicates that used API Key has not got required permissions to perform this operation.
- `404`: EES AIR Refuse to process that particular Request as requested/referenced resource could not be found.
- `415`: EES AIR is not able to understand that request due to not supported `Content-Type` value.
- `429`: EES AIR refuses to process that particular Request as Client's API Requests Limit was exceeded.
- `500`: EES AIR refuses to process that particular Request due to Unexpected Server Error.
- `503`: EES AIR refuses to process that particular Request due to Service(s) being Unavailable (i.e. Scheduled Maintenance)
- `504`: EES AIR refuses to process that particular Request due to Networking Issues

---

[API](https://skmtc.dev/eagleeye/apis/resource-api.md) - [All operations](https://skmtc.dev/eagleeye/apis/resource-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eagleeye/apis/resource-api/revisions/10217d37fdc5?raw)
