---
title: "List all inventory categories"
method: GET
path: "/ext/v2/inventory-categories/"
tags: ["Inventory"]
---

# List all inventory categories

`GET /ext/v2/inventory-categories/`

## Request

- Base URL: `https://connect.vetcove.com`
- URL: `https://connect.vetcove.com/ext/v2/inventory-categories/`
- Auth: HTTP bearer

Returns a list of all inventory categories. The inventory categories are sorted by creation date, with the most recent appearing first.

An **inventory category** groups related inventory codes together (e.g., Vaccines, Controlled Substances, General Supplies). This is a global reference table, not scoped to a specific organization.

## Query parameters

- `ids` integer[], nullable: When provided, filters to objects with these IDs.
- `ending_before` integer, nullable: A cursor used for pagination. Fetches the page of results ending immediately before the object with the given ID. Cannot be used at the same time as `starting_after`.
- `starting_after` integer, nullable: A cursor used for pagination. Fetches the page of results starting immediately after the given ID. Cannot be used at the same time as `ending_before`.
- `limit` integer: The maximum number of items to return per page.

## Response `200`

OK

- ExternalInventoryCategorySchemaList
  - `data` ExternalInventoryCategorySchema[], required: A single page of data contained within this list.
    - `id` integer, required: The unique identifier for the inventory category
    - `name` string, required: The name of the category
  - `has_more` boolean: Whether there are more pages or data in this list.
  - `next_page` string, required: A URL linking to the next page of this list.
  - `type` string: Type of this object. Always `list`.

---

[API](https://skmtc.dev/vetcove/apis/ninjaapi.md) - [All operations](https://skmtc.dev/vetcove/apis/ninjaapi/llms.txt) - [OpenAPI document](https://skmtc.dev/vetcove/apis/ninjaapi/revisions/4ceaed956e15?raw)
