---
title: "Changes to PUT /api/material-lines/{id}"
method: PUT
path: "/api/material-lines/{id}"
---

# Changes to PUT /api/material-lines/{id}

`PUT /api/material-lines/{id}`

> Every recorded change to this endpoint, newest first.
> 49 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 49 revisions.

- **2026-08-31** `97e51f27dc77` — 13 breaking, 13 info

## Changes

- **2026-08-31** `97e51f27dc77` — 13 breaking, 13 info
  - request property `parentId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the response property `data/countriesOfOrigin` became nullable for the status `200`
  - the response property `data/createdByCompanyId` became nullable for the status `200`
  - the response property `data/createdByUserId` became nullable for the status `200`
  - the response property `data/hierarchy` became nullable for the status `200`
  - the response property `data/parentId` became nullable for the status `200`
  - the response property `data/percentage` became nullable for the status `200`
  - the response property `data/position` became nullable for the status `200`
  - the response property `data/rawMaterialId` became nullable for the status `200`
  - the response property `data/updatedByCompanyId` became nullable for the status `200`
  - the response property `data/updatedByUserId` became nullable for the status `200`
  - the response property `data/weightUnit` became nullable for the status `200`
  - the response property `data/weights` became nullable for the status `200`
  - the request property `parentId` became nullable
  - response property `data/countriesOfOrigin` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/createdByCompanyId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/createdByUserId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/hierarchy` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/parentId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/percentage` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/position` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/rawMaterialId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/updatedByCompanyId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/updatedByUserId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/weightUnit` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/weights` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

---

[Operation](https://skmtc.dev/retraced/apis/api-reference/docs/api/material-lines/:id/put.md) · [API](https://skmtc.dev/retraced/apis/api-reference.md) · [Page](https://skmtc.dev/retraced/apis/api-reference/changes/api/material-lines/:id/put)
