---
title: "Update a Stocktake Item"
method: PUT
path: "/inventory/stock-takes/{stockTakeId}/items/{stockTakeItemId}"
tags: ["StockTakes"]
---

# Update a Stocktake Item

`PUT /inventory/stock-takes/{stockTakeId}/items/{stockTakeItemId}`

This endpoint updates a stocktake item for the given stocktake.

## Request body

- object
  - `counted_quantity` number, nullable — The quantity counted for this stocktake item.

## Response `200`

The stocktake item was successfully retrieved

- object
  - `data` StockTakeItem, required
    - `id` string, uuid, required — The ID of the stock take item.
    - `stock_take_id` string, uuid, required — The ID of the stock take this item belongs to.
    - `product_id` string, uuid, required — The ID of the inventory product this stocktake item belongs to.
    - `name` string, required — The name of the inventory product.
    - `sku` string, nullable — The stock keeping unit (SKU) for the stocktake item.
    - `unit_cost` integer, required — The unit cost of the stocktake item in the lowest denomination for the product's currency.
    - `counted_quantity` number, required — The quantity counted for this stocktake item.
    - `expected_quantity` number, required — The expected quantity for this stocktake item.
    - `adjusted_quantity` number, required — The adjusted quantity for this stocktake item.
    - `adjusted_value` integer, required — The adjusted value for this stocktake item.
    - `created_at` string, date-time, required — The date and time the stock take item was created.
    - `updated_at` string, date-time, required — The date and time the stock take item was last updated.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc.dev/try/apis/trybe-api/revisions/f37f92702da5?raw)
