---
updatedAt: 2026-08-11T15:46:20.000Z
agentTools:
  siteIndex: https://developer.eagleeye.com/llms.txt
  projectIndex: https://developer.eagleeye.com/eagleeye-developer/llms.txt
---

# Bulk Delete Inventory Products (BETA)

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.

# OpenAPI definition

```json
{
  "x-explorer-enabled": false,
  "openapi": "3.0.3",
  "servers": [
    {
      "url": "https://resources.uk.eagleeye.com",
      "description": "UK Production."
    },
    {
      "url": "https://resources.us.eagleeye.com",
      "description": "US Production."
    },
    {
      "url": "https://resources.us2.eagleeye.com",
      "description": "US2 Production."
    },
    {
      "url": "https://resources.au.eagleeye.com",
      "description": "AU Production."
    },
    {
      "url": "https://resources.sandbox.uk.eagleeye.com",
      "description": "UK Sandbox."
    }
  ],
  "info": {
    "version": "1.68.0",
    "title": "Resource API",
    "description": "# These APIs are used for integration with the Eagle Eye AIR platform when interacting with resources."
  },
  "tags": [
    {
      "name": "Product Inventory",
      "description": "Set of RESTful API endpoints allowing Clients to integrate with EES AIR and use Product Inventory functionality."
    }
  ],
  "paths": {
    "/products/{incomingIdentifier}/bulk/delete": {
      "post": {
        "summary": "Bulk Delete Inventory Products (BETA)",
        "operationId": "postInventoryProductsBulkDelete",
        "tags": [
          "Product Inventory"
        ],
        "description": "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.",
        "parameters": [
          {
            "$ref": "#/components/parameters/incomingIdentifierPath"
          },
          {
            "$ref": "#/components/parameters/httpAcceptEncodingRequest"
          },
          {
            "$ref": "#/components/parameters/httpConnectionRequest"
          },
          {
            "$ref": "#/components/parameters/httpContentTypeRequest"
          },
          {
            "$ref": "#/components/parameters/eesAuthenticationClientId"
          },
          {
            "$ref": "#/components/parameters/eesAuthenticationRequestHash"
          },
          {
            "$ref": "#/components/parameters/eesMessageId"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/postInventoryProductsBulkDeletePayload"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/inventoryProductsBulkDeleteResponse"
          },
          "207": {
            "$ref": "#/components/responses/207inventoryProductsBulkDeleteResponse"
          },
          "400": {
            "$ref": "#/components/responses/400inventoryProductsBulkDeleteResponse"
          },
          "401": {
            "$ref": "#/components/responses/error401Response"
          },
          "403": {
            "$ref": "#/components/responses/error403Response"
          },
          "404": {
            "$ref": "#/components/responses/error404Response"
          },
          "415": {
            "$ref": "#/components/responses/error415Response"
          },
          "429": {
            "$ref": "#/components/responses/error429Response"
          },
          "500": {
            "$ref": "#/components/responses/error500Response"
          },
          "503": {
            "$ref": "#/components/responses/error503Response"
          },
          "504": {
            "$ref": "#/components/responses/error504Response"
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "eesAuthenticationClientId": {
        "name": "X-EES-AUTH-CLIENT-ID",
        "in": "header",
        "description": "Client ID, This will be provided by EES and is unique to the company calling the API.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "string"
        }
      },
      "eesAuthenticationRequestHash": {
        "name": "X-EES-AUTH-HASH",
        "in": "header",
        "description": "Request Security Hash, calculated using SHA-256 function from concatenated full Request URI Path with Query String(s), Payload and Client Secret.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "string"
        }
      },
      "eesMessageId": {
        "name": "X-EES-TRANSACTION-ID",
        "in": "header",
        "description": "Unique Reference for the API transaction within the calling company.",
        "required": false,
        "schema": {
          "type": "string",
          "format": "string"
        }
      },
      "incomingIdentifierPath": {
        "name": "incomingIdentifier",
        "in": "path",
        "required": true,
        "description": "The incoming identifier of the unit whose inventory products and groups are being managed.",
        "schema": {
          "type": "string",
          "format": "string"
        },
        "allowEmptyValue": false
      },
      "httpContentTypeRequest": {
        "name": "Content-Type",
        "in": "header",
        "required": false,
        "description": "Standard HTTP header to inform EES API what type of content was passed in request payload",
        "schema": {
          "type": "string",
          "format": "string",
          "default": "application/json"
        },
        "allowEmptyValue": false
      },
      "httpAcceptEncodingRequest": {
        "name": "Accept-Encoding",
        "in": "header",
        "required": false,
        "description": "This request HTTP header advertises which content encoding (usually a compression algorithm) the calling application is able to understand. The server selects one of the proposals, use it and informs the client of its choice with the `Content-Encoding` Response header. Currently supported `gzip` and `deflate`. Please note if this request header is not present, no compression will be used.",
        "schema": {
          "type": "string",
          "format": "string",
          "default": "''",
          "enum": [
            "''",
            "'gzip'",
            "'deflate'",
            "'gzip,deflate'",
            "'deflate,gzip'"
          ]
        },
        "allowEmptyValue": true
      },
      "httpConnectionRequest": {
        "name": "Connection",
        "in": "header",
        "required": false,
        "description": "This general HTTP header controls (or rather influences) whether the network connection stays open after the current request finishes. If the sent value is `keep-alive`, the connection should stay in a special state, allowing to be reused for subsequent requests to the same server. Please note these connections will be closed after reaching timeout threshold controlled by EES server (usually after 5 seconds).",
        "schema": {
          "type": "string",
          "format": "string",
          "enum": [
            "keep-alive",
            "close"
          ],
          "default": "close"
        }
      }
    },
    "requestBodies": {
      "postInventoryProductsBulkDeletePayload": {
        "description": "JSON payload for bulk deleting inventory products.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/inventoryProductsBulkDeleteRequestEntity"
            }
          }
        }
      }
    },
    "schemas": {
      "inventoryProductsBulkDeleteRequestEntity": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ids": {
            "type": "array",
            "minItems": 1,
            "maxItems": 100,
            "uniqueItems": true,
            "description": "Product identifiers to delete in a single bulk request.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "ids"
        ]
      },
      "InventoryProductsBulkDeleteResponseEntity": {
        "type": "object",
        "properties": {
          "successful": {
            "type": "object",
            "properties": {
              "total": {
                "type": "integer",
                "description": "Total number of products successfully deleted.",
                "example": 1
              },
              "results": {
                "type": "array",
                "description": "Product identifiers successfully deleted.",
                "items": {
                  "type": "string"
                },
                "example": [
                  "alpha"
                ]
              }
            }
          },
          "failed": {
            "type": "object",
            "properties": {
              "total": {
                "type": "integer",
                "description": "Total number of products that could not be deleted.",
                "example": 1
              },
              "results": {
                "type": "array",
                "description": "Errors for products that could not be deleted.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The product identifier that failed deletion.",
                      "example": "bravodoesnotexist"
                    },
                    "errorCode": {
                      "type": "string",
                      "description": "Error code for the failed deletion.",
                      "example": "PNF"
                    },
                    "errorMessage": {
                      "type": "string",
                      "description": "Human readable error message.",
                      "example": "Product Not Found"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "defaultErrorEntity": {
        "type": "object",
        "required": [
          "errorCode",
          "errorMessage"
        ],
        "properties": {
          "errorCode": {
            "type": "string",
            "format": "string",
            "description": "EES AIR Error Code",
            "example": "MPA",
            "enum": [
              "NF",
              "IR",
              "U",
              "AF",
              "CE",
              "IPR",
              "MNA",
              "MPA",
              "P",
              "AA",
              "IP",
              "IH",
              "RF"
            ]
          },
          "errorMessage": {
            "type": "string",
            "format": "string",
            "description": "Human Friendly Error Message",
            "example": "Missing Mandatory Request Parameter: `parameterName`"
          },
          "details": {
            "type": "object",
            "description": "This optional object might contain an additional details regarding this error"
          }
        },
        "x-enum": [
          {
            "errorCode": "NF",
            "errorMessage": "Not Found"
          },
          {
            "errorCode": "IR",
            "errorMessage": "Invalid Request"
          },
          {
            "errorCode": "U",
            "errorMessage": "Unknown Error"
          },
          {
            "errorCode": "AF",
            "errorMessage": "Authorisation Failed"
          },
          {
            "errorCode": "CE",
            "errorMessage": "Configuration Error"
          },
          {
            "errorCode": "IPR",
            "errorMessage": "IP Address Rejected"
          },
          {
            "errorCode": "MNA",
            "errorMessage": "Method Not Allowed"
          },
          {
            "errorCode": "MPA",
            "errorMessage": "Missing Parameter"
          },
          {
            "errorCode": "P",
            "errorMessage": "Privileges"
          },
          {
            "errorCode": "AA",
            "errorMessage": "Invalid Access to API Method"
          },
          {
            "errorCode": "IP",
            "errorMessage": "Invalid Parameter"
          },
          {
            "errorCode": "IH",
            "errorMessage": "Invalid Header set"
          },
          {
            "errorCode": "RF",
            "errorMessage": "Rollback Failure"
          }
        ]
      }
    },
    "responses": {
      "inventoryProductsBulkDeleteResponse": {
        "description": "All requested products were deleted successfully.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/InventoryProductsBulkDeleteResponseEntity"
            },
            "example": {
              "successful": {
                "total": 2,
                "results": [
                  "alpha",
                  "bravo"
                ]
              },
              "failed": {
                "total": 0,
                "results": []
              }
            }
          }
        }
      },
      "207inventoryProductsBulkDeleteResponse": {
        "description": "Some requested products were deleted while others failed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/InventoryProductsBulkDeleteResponseEntity"
            },
            "example": {
              "successful": {
                "total": 1,
                "results": [
                  "alpha"
                ]
              },
              "failed": {
                "total": 1,
                "results": [
                  {
                    "id": "bravodoesnotexist",
                    "errorCode": "PNF",
                    "errorMessage": "Product Not Found"
                  }
                ]
              }
            }
          }
        }
      },
      "400inventoryProductsBulkDeleteResponse": {
        "description": "Request failed due to schema validation errors or all submitted products failing deletion.",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                },
                {
                  "$ref": "#/components/schemas/InventoryProductsBulkDeleteResponseEntity"
                }
              ]
            },
            "examples": {
              "invalidSchema": {
                "summary": "Payload does not satisfy schema validation.",
                "value": {
                  "errorCode": "ISF",
                  "errorMessage": "JSON schema validation failed"
                }
              },
              "allFailed": {
                "summary": "No products were deleted because all submitted items failed.",
                "value": {
                  "successful": {
                    "total": 0,
                    "results": []
                  },
                  "failed": {
                    "total": 2,
                    "results": [
                      {
                        "id": "APPLE_001",
                        "errorCode": "IPC",
                        "errorMessage": "Product cannot be deleted"
                      },
                      {
                        "id": "APPLE_002",
                        "errorCode": "PNF",
                        "errorMessage": "Product Not Found"
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "error401Response": {
        "description": "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",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "AF",
                "errorMessage": "Authentication Failure, Please check if required AUTH headers are present in your Request and if AUTH Hash is calculated correctly"
              }
            }
          }
        }
      },
      "error403Response": {
        "description": "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.",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "P",
                "errorMessage": "You don't have appropriate Privileges to perform this operation"
              }
            }
          }
        }
      },
      "error404Response": {
        "description": "EES AIR Refuse to process that particular Request as requested/referenced resource could not be found.",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "NF",
                "errorMessage": "Requested Resource (Wallet Identity Value) not found"
              }
            }
          }
        }
      },
      "error415Response": {
        "description": "EES AIR is not able to understand that request due to not supported `Content-Type` value.",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "...",
                "errorMessage": "..."
              }
            }
          }
        }
      },
      "error429Response": {
        "description": "EES AIR refuses to process that particular Request as Client's API Requests Limit was exceeded.",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "...",
                "errorMessage": "..."
              }
            }
          }
        }
      },
      "error500Response": {
        "description": "EES AIR refuses to process that particular Request due to Unexpected Server Error.",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "U",
                "errorMessage": "Unknown Server Error"
              }
            }
          }
        }
      },
      "error503Response": {
        "description": "EES AIR refuses to process that particular Request due to Service(s) being Unavailable (i.e. Scheduled Maintenance)",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "...",
                "errorMessage": "..."
              }
            }
          }
        }
      },
      "error504Response": {
        "description": "EES AIR refuses to process that particular Request due to Networking Issues",
        "headers": {
          "X-EES-TRANSACTION-ID-RESULT": {
            "$ref": "#/components/headers/uniquenessCheckResult"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                }
              ],
              "example": {
                "errorCode": "...",
                "errorMessage": "..."
              }
            }
          }
        }
      }
    },
    "headers": {
      "uniquenessCheckResult": {
        "required": false,
        "description": "If Request Uniqueness checking is enabled for a Client, this Header will contain details regarding Request uniqueness check performed within EES AIR. `PASSED` means it was checked and a Request is unique, `FAILED` means check was performed and it fails, `UNABLE TO CHECK` means EES AIR was not able to perform uniqueness check.",
        "schema": {
          "type": "string",
          "format": "string",
          "nullable": false,
          "enum": [
            "PASSED",
            "FAILED",
            "UNABLE TO CHECK"
          ]
        }
      }
    }
  }
}
```