---
title: "Changes to Update an inventory stock location"
method: PATCH
path: "/inventory_stock_locations/{inventoryStockLocationId}"
---

# Changes to Update an inventory stock location

`PATCH /inventory_stock_locations/{inventoryStockLocationId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 3 breaking, 4 warning, 6 info

## Changes

- **2026-07-13** `859097ed3fe6`: 3 breaking, 4 warning, 6 info
  - added the new required request property `data/relationships/inventory_model/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/inventory_model/id`
  - removed the request property `data/relationships/inventory_model/type`
  - removed the request property `data/relationships/stock_location/id`
  - removed the request property `data/relationships/stock_location/type`
  - 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 `type` request property default value `inventory_stock_locations` was removed
  - added the new `inventory_stock_locations` 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/inventory_stock_locations/:inventoryStockLocationId/patch.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/inventory_stock_locations/:inventoryStockLocationId/patch)
