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

# Changes to PUT /api/batches/{id}/material

`PUT /api/batches/{id}/material`

> Every recorded change to this operation, newest first.
> 108 revisions in range; 2 not diffed.

## Timeline

Changed in 1 of 108 revisions.

- **2026-08-31** `97e51f27dc77`: 21 breaking, 3 warning, 57 info

## Changes

- **2026-08-31** `97e51f27dc77`: 21 breaking, 3 warning, 57 info
  - request property `header/description` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/countriesOfOrigin` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/hierarchy` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/parentId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/position` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/weightUnit` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/weights` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the response property `data/bomData` 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/description` became nullable for the status `200`
  - the response property `data/entityData` became nullable for the status `200`
  - the response property `data/materialData` became nullable for the status `200`
  - the response property `data/modelNumber` became nullable for the status `200`
  - the response property `data/quantityUnit` became nullable for the status `200`
  - the response property `data/updatedAt` 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 `data/bomData` response's property type changed from no type to `object` for status `200`
  - the `data/entityData` response's property type changed from no type to `object` for status `200`
  - the `data/materialData` response's property type changed from no type to `object` for status `200`
  - the `lines/items/hierarchy` request property's min was set to `0.00`
  - the `lines/items/position` request property's min was set to `0.00`
  - the `lines/items/weights` request property's min was set to `0.00`
  - the request property `header/description` became nullable
  - the request property `lines/items/countriesOfOrigin` became nullable
  - the request property `lines/items/hierarchy` became nullable
  - the request property `lines/items/parentId` became nullable
  - the request property `lines/items/position` became nullable
  - the request property `lines/items/weightUnit` became nullable
  - the request property `lines/items/weights` became nullable
  - added the optional property `data/entityData/brands` to the response with the `200` status
  - added the optional property `data/entityData/claimIntentions` to the response with the `200` status
  - added the optional property `data/entityData/collections` to the response with the `200` status
  - added the optional property `data/entityData/color` to the response with the `200` status
  - added the optional property `data/entityData/createdAt` to the response with the `200` status
  - added the optional property `data/entityData/createdByApiKeyId` to the response with the `200` status
  - added the optional property `data/entityData/createdByApiKeyLabel` to the response with the `200` status
  - added the optional property `data/entityData/createdByCompanyId` to the response with the `200` status
  - added the optional property `data/entityData/createdByImpersonateId` to the response with the `200` status
  - …41 more

---

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