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

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

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

> 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` — 27 breaking, 3 warning, 99 info

## Changes

- **2026-08-31** `97e51f27dc77` — 27 breaking, 3 warning, 99 info
  - request property `lines/items/quantityUnit` was restricted to a list of enum values
  - request property `lines/items/weightUnit` was restricted to a list of enum values
  - request property `header/effectiveEndDate` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/countryOfOrigin` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/id` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/mainSupplier` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/placementId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/quantity` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/quantityUnit` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/suppliers` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `lines/items/weight` 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`
  - the `lines/items/countryOfOrigin` request property's minLength was increased from `0` to `2`
  - 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/countryOfOrigin` request property's maxLength was set to `2`
  - the `lines/items/quantity` request property's min was set to `0.00`
  - the `lines/items/weight` request property's min was set to `0.00`
  - the request property `header/effectiveEndDate` became nullable
  - the request property `lines/items/countryOfOrigin` became nullable
  - the request property `lines/items/id` became nullable
  - the request property `lines/items/mainSupplier` became nullable
  - the request property `lines/items/placementId` became nullable
  - the request property `lines/items/quantity` became nullable
  - the request property `lines/items/quantityUnit` became nullable
  - the request property `lines/items/suppliers` became nullable
  - the request property `lines/items/weight` became nullable
  - the request property `lines/items/weightUnit` became nullable
  - …89 more

---

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