---
title: "Changes to Retrieve a line item"
method: GET
path: "/line_items/{lineItemId}"
---

# Changes to Retrieve a line item

`GET /line_items/{lineItemId}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 11 revisions.

- **2026-10-08** `71dbd5f83326`: 1 info
- **2026-07-13** `859097ed3fe6`: 40 breaking, 17 warning, 38 info

## Changes

- **2026-10-08** `71dbd5f83326`: 1 info
  - added the optional property `data/relationships/attachments` to the response with the `200` status
- **2026-07-13** `859097ed3fe6`: 40 breaking, 17 warning, 38 info
  - the response property `data/attributes/bundle_code` became nullable for the status `200`
  - the response property `data/attributes/currency_code` became nullable for the status `200`
  - the response property `data/attributes/discount_breakdown` became nullable for the status `200`
  - the response property `data/attributes/discount_cents` became nullable for the status `200`
  - the response property `data/attributes/discount_float` became nullable for the status `200`
  - the response property `data/attributes/formatted_discount` became nullable for the status `200`
  - the response property `data/attributes/formatted_options_amount` became nullable for the status `200`
  - the response property `data/attributes/formatted_tax_amount` became nullable for the status `200`
  - the response property `data/attributes/formatted_total_amount` became nullable for the status `200`
  - the response property `data/attributes/formatted_unit_amount` became nullable for the status `200`
  - the response property `data/attributes/image_url` became nullable for the status `200`
  - the response property `data/attributes/item_type` became nullable for the status `200`
  - the response property `data/attributes/metadata` became nullable for the status `200`
  - the response property `data/attributes/name` became nullable for the status `200`
  - the response property `data/attributes/options_amount_cents` became nullable for the status `200`
  - the response property `data/attributes/options_amount_float` 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/attributes/tax_amount_cents` became nullable for the status `200`
  - the response property `data/attributes/tax_breakdown` became nullable for the status `200`
  - the response property `data/attributes/tax_rate` became nullable for the status `200`
  - the response property `data/attributes/total_amount_cents` became nullable for the status `200`
  - the response property `data/attributes/unit_amount_cents` became nullable for the status `200`
  - the response property `data/attributes/unit_amount_float` 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/item/id` from the response with the `200` status
  - removed the required property `data/relationships/item/type` from the response with the `200` status
  - removed the required property `data/relationships/line_item_options/id` from the response with the `200` status
  - removed the required property `data/relationships/line_item_options/type` from the response with the `200` status
  - removed the required property `data/relationships/order/id` from the response with the `200` status
  - removed the required property `data/relationships/order/type` from the response with the `200` status
  - removed the required property `data/relationships/shipment_line_items/id` from the response with the `200` status
  - removed the required property `data/relationships/shipment_line_items/type` from the response with the `200` status
  - removed the required property `data/relationships/stock_line_items/id` from the response with the `200` status
  - removed the required property `data/relationships/stock_line_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
  - …55 more

---

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