---
title: "Get a list of product categories"
method: GET
path: "/v1/productCategories"
tags: ["Stock"]
---

# Get a list of product categories

`GET /v1/productCategories`

Retrieve a paged collection of product categories (required scope stock:read)

## Query parameters

- `id` integer[]
- `sortBy` 'name' — Represents the sort options for product categories<p>Possible values:</p><ul><li><b>name</b>: Sort product categories by name</li></ul>
- `direction` 'ascending' | 'descending' — Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>
- `pageNumber` integer
- `pageSize` integer

## Headers

- `Customer-Id` integer, required

## Response `200`

OK

- PagedResponseReadProductCategoryModel — A paged collection of items
  - `items` ReadProductCategoryModel[] — The items returned for the requested page
    - `id` integer — The unique identifier of the product category
    - `name` string — Represents the classification or grouping of a stock item based on its characteristics, usage, or other criteria. It helps in organising the inventory and can aid in tracking, reporting, and analysing inventory data
    - `createdAt` string, date-time — The date and time when the stock item record was created
  - `pageNumber` integer — The page number of the response where 1 is the first page
  - `pageSize` integer — The number of items requested for the current page
  - `pageItemCount` integer — The number of items returned in the current page

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
