---
title: "Changes to Update a stock item"
method: PATCH
path: "/stock_items/{stockItemId}"
---

# Changes to Update a stock item

`PATCH /stock_items/{stockItemId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 11 revisions.

- **2026-09-03** `f4cc6ad7c61e`: 2 info
- **2026-07-13** `859097ed3fe6`: 3 breaking, 4 warning, 8 info

## Changes

- **2026-09-03** `f4cc6ad7c61e`: 2 info
  - added the new optional request property `data/attributes/low_quantity`
  - added the optional property `data/attributes/low_quantity` to the response with the `200` status
- **2026-07-13** `859097ed3fe6`: 3 breaking, 4 warning, 8 info
  - added the new required request property `data/relationships/sku/data`
  - added the new required request property `data/relationships/stock_location/data`
  - request property `data/type` was restricted to a list of enum values
  - removed the request property `data/relationships/sku/id`
  - removed the request property `data/relationships/sku/type`
  - removed the request property `data/relationships/stock_location/id`
  - removed the request property `data/relationships/stock_location/type`
  - added the new optional request property `data/attributes/_validate`
  - the request property `data/attributes/metadata` became nullable
  - the request property `data/attributes/reference` became nullable
  - the request property `data/attributes/reference_origin` became nullable
  - the request property `data/attributes/sku_code` became nullable
  - the `type` request property default value `stock_items` was removed
  - added the new `stock_items` enum value to the request property `data/type`
  - added the media type `application/vnd.api+json` for the response with the status `200`

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/stock_items/:stockItemId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/stock_items/:stockItemId/patch)
