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

# Get a inventory by ID

`GET /v1/inventory/{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/inventory/{id}`
- Auth: API key in header `x-api-key`

Retrieves a single inventory by its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

The inventory has been successfully retrieved.

- InventoryResponseDto
  - `id` string: Unique identifier for the Inventory.
  - `createdAt` string, date-time: Timestamp when the Inventory was created.
  - `updatedAt` string, date-time: Timestamp when the Inventory was last updated.
  - `companyId` string: Company ID associated with the Inventory.
  - `productId` string: Product ID of the Stock.
  - `variantId` string: Variant ID of the Stock.
  - `outletId` string: Outlet ID of the Stock.
  - `manageStock` boolean: Whether the tuple manages stock. If false, quantity is treated as infinite.
  - `quantity` number: Quantity of the Stock.

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `404`: The inventory 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)
