---
title: "StockByID (Horeko)"
description: "Stock by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/horeko/Horeko.Stock.StockByID
original: https://documentation.invantive.eu/en/datamodels/horeko/Horeko.Stock.StockByID
updated: 2025-06-11T11:15:01Z
license: https://documentation.invantive.eu/en/
---

# StockByID: Horeko Stock by ID

`read only` `REST`

- Catalog: `Horeko`
- Schema: `Stock`
- Label: Stock by ID

Returns details for one stocklist
ItemType: 0=Category, 1=Subrecipe, 2=Ingredient. ItemUnit: 0=Kilo, 1=Liter, 2=Piece

Can only retrieve data.

## API Source

- Endpoint: `/v4/stocks/{id}`
- Operation: `get /v4/stocks/{id}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `` | [x] |  |  |

## Table Columns

The columns of the table `StockByID` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `CountDate` | `datetime` | Count Date | [ ] |  |  |
| `CountedBy` | `int32` | Counted by | [ ] |  |  |
| `Description` | `varchar2` | Description | [ ] |  |  |
| `LocationId` | `int32` | Location ID | [ ] |  |  |
| `Name` | `varchar2` | Name | [ ] |  |  |
| `TotalKilo` | `double` | Total (kilo) | [ ] |  |  |
| `TotalLiter` | `double` | Total (liter) | [ ] |  |  |
| `TotalPiece` | `double` | Total (piece) | [ ] |  |  |
| `TotalValue` | `double` | Total (value) | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Horeko](/en/release-notes/drivers?driver=horeko)

