---
title: "Get a category by ID"
method: GET
path: "/v1/category/{id}"
tags: ["Category"]
---

# Get a category by ID

`GET /v1/category/{id}`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/category/{id}`
- Auth: API key in header `x-api-key`

Retrieves a single category by its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

The category has been successfully retrieved.

- CategoryResponseDto
  - `id` string: Unique identifier for the Category.
  - `createdAt` string, date-time: Timestamp when the Category was created.
  - `updatedAt` string, date-time: Timestamp when the Category was last updated.
  - `companyId` string: Company ID associated with the Category.
  - `externalId` string: External ID of the category.
  - `name` string: Name of the category.
  - `description` string: Description of the category.
  - `image` string: Image of the category.
  - `parentId` string: Parent ID of the category.
  - `menuOrder` number: Menu order of the category.
  - `source` string: Source of the category.

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `404`: The category was not found. The resource was not found.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
