---
title: "Changes to POST /api/material-lines/"
method: POST
path: "/api/material-lines/"
---

# Changes to POST /api/material-lines/

`POST /api/material-lines/`

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

## Timeline

Changed in 2 of 49 revisions.

- **2026-08-31** `97e51f27dc77` — 13 breaking, 13 info
- **2026-08-21** `ae0f0a740727` — 1 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 `201`
  - the response property `data/createdByCompanyId` became nullable for the status `201`
  - the response property `data/createdByUserId` became nullable for the status `201`
  - the response property `data/hierarchy` became nullable for the status `201`
  - the response property `data/parentId` became nullable for the status `201`
  - the response property `data/percentage` became nullable for the status `201`
  - the response property `data/position` became nullable for the status `201`
  - the response property `data/rawMaterialId` became nullable for the status `201`
  - the response property `data/updatedByCompanyId` became nullable for the status `201`
  - the response property `data/updatedByUserId` became nullable for the status `201`
  - the response property `data/weightUnit` became nullable for the status `201`
  - the response property `data/weights` became nullable for the status `201`
  - 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 `201`
  - response property `data/createdByCompanyId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/createdByUserId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/hierarchy` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/parentId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/percentage` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/position` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/rawMaterialId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/updatedByCompanyId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/updatedByUserId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/weightUnit` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
  - response property `data/weights` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`
- **2026-08-21** `ae0f0a740727` — 1 info
  - the request property `parentId` became optional

---

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