---
title: "Add Material Lot"
method: POST
path: "/api/v1/bom/nodes/{node_id}/lots"
tags: ["v1", "BOM Tree"]
---

# Add Material Lot

`POST /api/v1/bom/nodes/{node_id}/lots`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/bom/nodes/{node_id}/lots`
- Auth: none declared

Record a lot on this purchased part.

A plain def so the database work stays off the event loop. When the
build tree sends the unit, the lot is also marked used in that unit.

## Path parameters

- `node_id` string, required

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-09** `d9ef00c0253a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/changes/api/v1/bom/nodes/:node_id/lots/post.md)

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
