---
updatedAt: 2026-08-11T07:47:16.000Z
agentTools:
  siteIndex: https://developer.eagleeye.com/llms.txt
  projectIndex: https://developer.eagleeye.com/eagleeye-developer/llms.txt
---

# Bulk create Inventory Products (BETA)

This API endpoint allows the calling unit to create multiple inventory products in one request for their child unit as specified by its `incomingIdentifier`.

# 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": {
      "post": {
        "summary": "Bulk create Inventory Products (BETA)",
        "operationId": "postInventoryProductsBulk",
        "tags": [
          "Product Inventory"
        ],
        "description": "This API endpoint allows the calling unit to create multiple inventory products in one request for their child unit as specified by its `incomingIdentifier`.",
        "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/postInventoryProductsBulkPayload"
        },
        "responses": {
          "201": {
            "$ref": "#/components/responses/inventoryProductsBulkCreateResponse"
          },
          "207": {
            "$ref": "#/components/responses/207inventoryProductsBulkCreateResponse"
          },
          "400": {
            "$ref": "#/components/responses/400inventoryProductsBulkCreateResponse"
          },
          "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": {
      "postInventoryProductsBulkPayload": {
        "description": "JSON payload for bulk creating inventory products.",
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/inventoryProductsBulkPostRequestEntity"
            },
            "example": [
              {
                "id": "APPLE_001",
                "groupId": "FRUIT",
                "name": "Pink Lady Apple 500g",
                "description": "Sweet, crunchy Pink Lady apples.",
                "imageUrl": "https://cdn.example.com/products/pink-lady-apple-500g.jpg",
                "supplierId": "fresh-orchard-co",
                "supplierName": "Fresh Orchard & Co.",
                "brand": "Orchard Select",
                "brandType": "own-label",
                "lastSoldDate": "2026-03-04T15:21:33+00:00",
                "tags": [
                  "Fresh Produce",
                  "Seasonal"
                ]
              },
              {
                "id": "SPARKLING_LEMON_330",
                "groupId": "WATERS",
                "name": "Zesty Lemon Sparkling Water 330ml",
                "tags": [
                  "Low Sugar",
                  "Summer"
                ]
              }
            ]
          }
        }
      }
    },
    "schemas": {
      "InventoryProductEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the inventory product.",
            "example": "APPLE_001"
          },
          "groupId": {
            "type": "string",
            "description": "The identifier of the group this product belongs to.",
            "example": "FRUIT"
          },
          "name": {
            "type": "string",
            "description": "The display name of the product.",
            "example": "Pink Lady Apple 500g"
          },
          "description": {
            "type": "string",
            "description": "An optional description of the product.",
            "example": "Sweet, crunchy Pink Lady apples."
          },
          "imageUrl": {
            "type": "string",
            "nullable": true,
            "description": "URL of the product image.",
            "example": "https://cdn.example.com/products/pink-lady-apple-500g.jpg"
          },
          "supplierId": {
            "type": "string",
            "description": "The identifier of the product supplier.",
            "example": "fresh-orchard-co"
          },
          "supplierName": {
            "type": "string",
            "description": "The display name of the product supplier.",
            "example": "Fresh Orchard & Co."
          },
          "brand": {
            "type": "string",
            "description": "The brand of the product.",
            "example": "Orchard Select"
          },
          "brandType": {
            "type": "string",
            "description": "The brand type classification of the product.",
            "example": "own-label"
          },
          "lastSoldDate": {
            "type": "string",
            "format": "ees-date-time",
            "nullable": true,
            "description": "The date and time the product was last sold (ISO 8601 / ATOM format).",
            "example": "2026-03-04T15:21:33+00:00"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of tags associated with the product.",
            "example": [
              "Fresh Produce",
              "Seasonal"
            ]
          },
          "group": {
            "nullable": true,
            "description": "Present when `expand=group` is used. Contains the product group and recursively nested `parent` groups until the root group.",
            "allOf": [
              {
                "$ref": "#/components/schemas/InventoryProductGroupExpandedEntity"
              }
            ]
          }
        }
      },
      "InventoryProductGroupExpandedEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the group.",
            "example": "FRUIT"
          },
          "name": {
            "type": "string",
            "description": "The display name of the group.",
            "example": "Fruit"
          },
          "type": {
            "type": "string",
            "description": "The group type.",
            "example": "category"
          },
          "description": {
            "type": "string",
            "description": "A description of the group.",
            "example": "My group"
          },
          "parentId": {
            "type": "string",
            "nullable": true,
            "description": "The identifier of the parent group. Null for root groups.",
            "example": "GROCERY"
          },
          "parent": {
            "nullable": true,
            "description": "The parent group. This repeats recursively until the root group.",
            "allOf": [
              {
                "$ref": "#/components/schemas/InventoryProductGroupExpandedEntity"
              }
            ]
          }
        }
      },
      "inventoryProductPostRequestEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique identifier of the inventory product.",
            "example": "APPLE_001"
          },
          "groupId": {
            "type": "string",
            "description": "The identifier of the group this product belongs to.",
            "example": "FRUIT"
          },
          "name": {
            "type": "string",
            "description": "The display name of the product.",
            "example": "Pink Lady Apple 500g"
          },
          "description": {
            "type": "string",
            "description": "An optional description of the product.",
            "example": "Sweet, crunchy Pink Lady apples."
          },
          "imageUrl": {
            "type": "string",
            "nullable": true,
            "description": "URL of the product image.",
            "example": "https://cdn.example.com/products/pink-lady-apple-500g.jpg"
          },
          "supplierId": {
            "type": "string",
            "description": "The identifier of the product supplier.",
            "example": "fresh-orchard-co"
          },
          "supplierName": {
            "type": "string",
            "description": "The display name of the product supplier.",
            "example": "Fresh Orchard & Co."
          },
          "brand": {
            "type": "string",
            "description": "The brand of the product.",
            "example": "Orchard Select"
          },
          "brandType": {
            "type": "string",
            "description": "The brand type classification of the product.",
            "example": "own-label"
          },
          "lastSoldDate": {
            "type": "string",
            "format": "ees-date-time",
            "nullable": true,
            "description": "The date and time the product was last sold (ISO 8601 / ATOM format).",
            "example": "2026-03-04T15:21:33+00:00"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "A list of tags associated with the product.",
            "example": [
              "Fresh Produce",
              "Seasonal"
            ]
          }
        },
        "required": [
          "id",
          "groupId"
        ]
      },
      "inventoryProductsBulkPostRequestEntity": {
        "type": "array",
        "minItems": 1,
        "maxItems": 100,
        "description": "Array of products to be created in a single request.",
        "items": {
          "$ref": "#/components/schemas/inventoryProductPostRequestEntity"
        }
      },
      "inventoryProductsBulkCreateFailedResultEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The identifier of the product that failed to be created.",
            "example": "APPLE_001"
          },
          "errorCode": {
            "type": "string",
            "description": "The error code associated with the failed product.",
            "example": "IR"
          },
          "errorMessage": {
            "type": "string",
            "description": "A message explaining why this product failed to be created.",
            "example": "Invalid request data"
          }
        },
        "required": [
          "id",
          "errorCode",
          "errorMessage"
        ]
      },
      "inventoryProductsBulkCreateResponseEntity": {
        "type": "object",
        "required": [
          "successful",
          "failed"
        ],
        "properties": {
          "successful": {
            "type": "object",
            "required": [
              "total",
              "results"
            ],
            "properties": {
              "total": {
                "type": "integer",
                "format": "int32",
                "description": "Number of products successfully created.",
                "example": 2
              },
              "results": {
                "type": "array",
                "description": "Successfully created products.",
                "items": {
                  "$ref": "#/components/schemas/InventoryProductEntity"
                }
              }
            }
          },
          "failed": {
            "type": "object",
            "required": [
              "total",
              "results"
            ],
            "properties": {
              "total": {
                "type": "integer",
                "format": "int32",
                "description": "Number of products that failed to be created.",
                "example": 0
              },
              "results": {
                "type": "array",
                "description": "Per-item errors for products that failed to be created.",
                "items": {
                  "$ref": "#/components/schemas/inventoryProductsBulkCreateFailedResultEntity"
                }
              }
            }
          }
        }
      },
      "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": {
      "inventoryProductsBulkCreateResponse": {
        "description": "All products were created successfully.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/inventoryProductsBulkCreateResponseEntity"
            },
            "example": {
              "successful": {
                "total": 2,
                "results": [
                  {
                    "id": "APPLE_001",
                    "groupId": "FRUIT",
                    "name": "Pink Lady Apple 500g",
                    "description": "Sweet, crunchy Pink Lady apples.",
                    "imageUrl": "https://cdn.example.com/products/pink-lady-apple-500g.jpg",
                    "supplierId": "fresh-orchard-co",
                    "supplierName": "Fresh Orchard & Co.",
                    "brand": "Orchard Select",
                    "brandType": "own-label",
                    "lastSoldDate": "2026-03-04T15:21:33+00:00",
                    "tags": [
                      "Fresh Produce",
                      "Seasonal"
                    ]
                  },
                  {
                    "id": "SPARKLING_LEMON_330",
                    "groupId": "WATERS",
                    "name": "Zesty Lemon Sparkling Water 330ml",
                    "description": "Sparkling spring water with natural lemon zest.",
                    "imageUrl": "https://cdn.example.com/products/zesty-lemon-sparkling-water-330ml.jpg",
                    "supplierId": "clear-springs-co",
                    "supplierName": "Clear Springs Beverage Company",
                    "brand": "Clear Springs",
                    "brandType": "natural",
                    "lastSoldDate": "2026-06-18T11:02:45+00:00",
                    "tags": [
                      "Low Sugar",
                      "Summer"
                    ]
                  }
                ]
              },
              "failed": {
                "total": 0,
                "results": []
              }
            }
          }
        }
      },
      "207inventoryProductsBulkCreateResponse": {
        "description": "Some products were created and some failed validation or business rules.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/inventoryProductsBulkCreateResponseEntity"
            },
            "example": {
              "successful": {
                "total": 1,
                "results": [
                  {
                    "id": "APPLE_001",
                    "groupId": "FRUIT",
                    "name": "Pink Lady Apple 500g",
                    "description": "Sweet, crunchy Pink Lady apples.",
                    "imageUrl": null,
                    "supplierId": "",
                    "supplierName": "",
                    "brand": "",
                    "brandType": "",
                    "lastSoldDate": null,
                    "tags": []
                  }
                ]
              },
              "failed": {
                "total": 1,
                "results": [
                  {
                    "id": "APPLE_002",
                    "errorCode": "IR",
                    "errorMessage": "Invalid request data"
                  }
                ]
              }
            }
          }
        }
      },
      "400inventoryProductsBulkCreateResponse": {
        "description": "Request failed due to schema validation errors or all submitted products failing.",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/defaultErrorEntity"
                },
                {
                  "$ref": "#/components/schemas/inventoryProductsBulkCreateResponseEntity"
                }
              ]
            },
            "examples": {
              "invalidSchema": {
                "summary": "Payload does not satisfy schema validation.",
                "value": {
                  "errorCode": "ISF",
                  "errorMessage": "JSON schema validation failed"
                }
              },
              "allFailed": {
                "summary": "No products were created because all submitted items failed.",
                "value": {
                  "successful": {
                    "total": 0,
                    "results": []
                  },
                  "failed": {
                    "total": 2,
                    "results": [
                      {
                        "id": "APPLE_001",
                        "errorCode": "IPC",
                        "errorMessage": "Product already exists"
                      },
                      {
                        "id": "APPLE_002",
                        "errorCode": "IR",
                        "errorMessage": "Invalid request data"
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "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"
          ]
        }
      }
    }
  }
}
```