---
title: "Changes to Retrieve a stock location"
method: GET
path: "/stock_locations/{stockLocationId}"
---

# Changes to Retrieve a stock location

`GET /stock_locations/{stockLocationId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

- **2026-07-13** `859097ed3fe6`: 21 breaking, 2 warning, 18 info

## Changes

- **2026-07-13** `859097ed3fe6`: 21 breaking, 2 warning, 18 info
  - the response property `data/attributes/label_format` became nullable for the status `200`
  - the response property `data/attributes/metadata` became nullable for the status `200`
  - the response property `data/attributes/number` became nullable for the status `200`
  - the response property `data/attributes/reference` became nullable for the status `200`
  - the response property `data/attributes/reference_origin` became nullable for the status `200`
  - the response property `data/attributes/suppress_etd` became nullable for the status `200`
  - the response property `data` became optional for the status `200`
  - the response property `data/attributes` became optional for the status `200`
  - the response property `data/type` became optional for the status `200`
  - removed the required property `data/relationships/address/id` from the response with the `200` status
  - removed the required property `data/relationships/address/type` from the response with the `200` status
  - removed the required property `data/relationships/attachments/id` from the response with the `200` status
  - removed the required property `data/relationships/attachments/type` from the response with the `200` status
  - removed the required property `data/relationships/inventory_return_locations/id` from the response with the `200` status
  - removed the required property `data/relationships/inventory_return_locations/type` from the response with the `200` status
  - removed the required property `data/relationships/inventory_stock_locations/id` from the response with the `200` status
  - removed the required property `data/relationships/inventory_stock_locations/type` from the response with the `200` status
  - removed the required property `data/relationships/stock_items/id` from the response with the `200` status
  - removed the required property `data/relationships/stock_items/type` from the response with the `200` status
  - removed the required property `data/relationships/stock_transfers/id` from the response with the `200` status
  - removed the required property `data/relationships/stock_transfers/type` from the response with the `200` status
  - removed the optional property `data/attributes/id` from the response with the `200` status
  - added the new `stock_locations` enum value to the `data/type` response property for the response status `200`
  - added the optional property `data/attributes/code` to the response with the `200` status
  - added the optional property `data/id` to the response with the `200` status
  - added the optional property `data/links` to the response with the `200` status
  - added the optional property `data/relationships/address/data` to the response with the `200` status
  - added the optional property `data/relationships/address/links` to the response with the `200` status
  - added the optional property `data/relationships/attachments/data` to the response with the `200` status
  - added the optional property `data/relationships/attachments/links` to the response with the `200` status
  - added the optional property `data/relationships/event_stores` to the response with the `200` status
  - added the optional property `data/relationships/inventory_return_locations/data` to the response with the `200` status
  - added the optional property `data/relationships/inventory_return_locations/links` to the response with the `200` status
  - added the optional property `data/relationships/inventory_stock_locations/data` to the response with the `200` status
  - added the optional property `data/relationships/inventory_stock_locations/links` to the response with the `200` status
  - added the optional property `data/relationships/stock_items/data` to the response with the `200` status
  - added the optional property `data/relationships/stock_items/links` to the response with the `200` status
  - added the optional property `data/relationships/stock_transfers/data` to the response with the `200` status
  - added the optional property `data/relationships/stock_transfers/links` to the response with the `200` status
  - added the optional property `data/relationships/stores` to the response with the `200` status
  - …1 more

---

[Operation](https://skmtc.dev/commercelayer/apis/commerce-layer-api/docs/stock_locations/:stockLocationId/get.md) - [API](https://skmtc.dev/commercelayer/apis/commerce-layer-api.md) - [Page](https://skmtc.dev/commercelayer/apis/commerce-layer-api/changes/stock_locations/:stockLocationId/get)
