---
title: "Changes to Retrieve a stock line item"
method: GET
path: "/stock_line_items/{stockLineItemId}"
---

# Changes to Retrieve a stock line item

`GET /stock_line_items/{stockLineItemId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 11 revisions.

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

## Changes

- **2026-07-13** `859097ed3fe6`: 14 breaking, 2 warning, 14 info
  - the response property `data/attributes/bundle_code` became nullable for the status `200`
  - the response property `data/attributes/metadata` 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/sku_code` 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/line_item/id` from the response with the `200` status
  - removed the required property `data/relationships/line_item/type` from the response with the `200` status
  - removed the required property `data/relationships/shipment/id` from the response with the `200` status
  - removed the required property `data/relationships/shipment/type` from the response with the `200` status
  - removed the required property `data/relationships/stock_item/id` from the response with the `200` status
  - removed the required property `data/relationships/stock_item/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_line_items` enum value to the `data/type` response property for the response status `200`
  - added the optional property `data/attributes/image_url` to the response with the `200` status
  - added the optional property `data/attributes/name` 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/event_stores` to the response with the `200` status
  - added the optional property `data/relationships/line_item/data` to the response with the `200` status
  - added the optional property `data/relationships/line_item/links` to the response with the `200` status
  - added the optional property `data/relationships/shipment/data` to the response with the `200` status
  - added the optional property `data/relationships/shipment/links` to the response with the `200` status
  - added the optional property `data/relationships/sku` to the response with the `200` status
  - added the optional property `data/relationships/stock_item/data` to the response with the `200` status
  - added the optional property `data/relationships/stock_item/links` to the response with the `200` status
  - added the optional property `data/relationships/stock_reservation` to the response with the `200` status
  - the `type` response's property default value `stock_line_items` was removed for the status `200`

---

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