Skip to main content
GET
/
inventory
/
items
/
list
List Item
curl --request GET \
  --url https://api.decodahealth.com/inventory/items/list \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "data": [
    {
      "name": "<string>",
      "price": 123,
      "usageCount": 123,
      "id": "<string>",
      "brandName": "<string>",
      "description": "<string>",
      "category": "<string>",
      "unit": "AMPOULES",
      "isPhysical": true,
      "isArchived": false,
      "internalNotes": "<string>",
      "taxable": false,
      "sortOrder": 123,
      "allowCustomPricing": false,
      "type": "PRODUCT",
      "stocks": [
        {
          "itemId": "<string>",
          "stockId": "<string>",
          "quantityUsed": 123,
          "stock": {
            "name": "<string>",
            "unit": "AMPOULES",
            "id": "<string>",
            "description": "<string>",
            "notes": "<string>",
            "category": "<string>",
            "isArchived": false,
            "shipments": [
              {
                "stockId": "<string>",
                "supplierId": "<string>",
                "locationId": "<string>",
                "quantity": 123,
                "remainingQuantity": 123,
                "locationName": "<string>",
                "id": "<string>",
                "lotNumber": "<string>",
                "expiryDate": "2023-11-07T05:31:56Z",
                "sku": "<string>",
                "cost": 123,
                "supplier": {
                  "name": "<string>",
                  "id": "<string>",
                  "description": "<string>",
                  "website": "<string>",
                  "email": "<string>",
                  "preferredContactMethod": "<string>",
                  "phoneNumber": "<string>",
                  "addressLineOne": "<string>",
                  "addressLineTwo": "<string>",
                  "city": "<string>",
                  "state": "<string>",
                  "zipCode": "<string>",
                  "country": "<string>",
                  "isArchived": false
                },
                "createdDate": "2023-11-07T05:31:56Z",
                "note": "<string>"
              }
            ]
          }
        }
      ]
    }
  ],
  "total": 123
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

page
integer | null
per_page
integer | null
sort_by
string | null
sort_direction
enum<string> | null
Available options:
asc,
desc
location_id
string | null
ids
string[] | null

List of item IDs to filter by

name
string | null

Name of the item

category
string | null

Category of the item

price_range
integer[] | null

Price range [min, max]

is_archived
boolean | null

Archived status of the item

is_physical
boolean | null

Physical status of the item

Response

Successful Response

data
ItemDetail · object[]
required
total
integer
required