---
title: "Search the Product Inventory"
method: GET
path: "/inventory"
tags: ["Product Inventory"]
---

# Search the Product Inventory

`GET /inventory`

This API endpoint allows the calling application to retrieve a list of Products based on a number of parameters.

Below is a list of the 5 combinations of parameters that can be be passed in to filter the returned Products:
 * groupReference & parentIncomingIdentifier.
 * upc & parentIncomingIdentifier.
 * sku & parentIncomingIdentifier.
 * parentIncomingIdentifier & tag & matchAll.
 * parentIncomingIdentifier & name.

## Query parameters

- `groupReference` string, string
- `incomingIdentifier` string, string
- `upc` string, string
- `sku` string, string
- `tag` string, string
- `name` string, string
- `supplierId` string, string
- `supplierName` string, string
- `brand` string, string
- `brandType` string, string
- `lastSoldDate` string, ees-date-time
- `matchAll` boolean
- `parentIncomingIdentifier` string, string

## 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

## Response `200`

EES AIR has successfully processed a Request

- object
  - `offset` integer, required — Result set pagination offset
  - `limit` integer, required — Results per page (up to 100)
  - `total` integer, required — Results count
  - `orderBy` object[], nullable, required
    - `name` string, string — Field used for sorting results
    - `order` 'ASC' | 'DESC', string — Sorting order (ascending, descending)
  - `results` ProductInventoryListEntity[], required
    - `sku` string, string, nullable — Product SKU.
    - `upc` string, string, nullable — Product UPC.
    - `name` string, string — Product Name.
    - `description` string, string — Product Description.
    - `image` string, string — Product Image.
    - `supplierId` string, string — Product Supplier ID.
    - `supplierName` string, string — Product Supplier Name.
    - `brand` string, string — Product Brand Name.
    - `brandType` string, string — Product Brand Name.
    - `lastSoldDate` string, ees-date-time, nullable — Product Last Sold Date-Time (ATOM format).
    - `tags` string[] — List of Product tags.
    - `groups` object[] — List of groups that the Product belongs to.
      - `reference` string, string — The Product Group's Reference.
      - `groupReference` string, string — The Product Group's Group Reference.
      - `name` string, string — The Product Group's Name.
      - `primary` integer — The Product Group's Primary Value.

## Other responses

- `400` — EES AIR refuse to process that particular Request as there is something wrong with the Request (e.g. Request Payload is unprocessable, Mandatory Request Parameter value is not provided, etc.)
- `401` — EES AIR refuse to process that particular Request due to Authentication error(s). This could be caused by missing one or more of mandatory AUTH headers, invalid Hash calculation, invalid or inactive API Key used, etc.
- `403` — EES AIR refuse to process that particular Request due to Authorisation error(s). Please note nothing is wrong with Authentication nor hash Calculation, it is simply due to lack of permission to perform that particular action (e.g. Issuance Partner attempts to Redeem a Token or Redemption Partner attempts to Issue a Token, etc.)
- `404` — EES AIR refuse to process that particular Request as requested Resource could not be found or referenced Resource is not active.
- `415` — EES AIR refuse to process that particular Request as requested `Mime-Type` is not supported (Currently only `application/json` is supported
- `429` — EES AIR refuses to process that particular Request as Client's API Requests Limit was exceeded.
- `500` — EES AIR is not able 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.net/eagleeye/apis/wallet-api.md) · [All operations](https://skmtc.net/eagleeye/apis/wallet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeye/wallet-api/versions/90a122bb14cc/schema)
