v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
Inventory

patch/Inventory/{id}/lots/{lotId}/containers/{containerId}

Path parameters

idstring required
lotIdstring required
containerIdstring required

Request body

locationIdstring nullable

New storage location id; omit to leave unchanged.

containerCodestring nullable

New container code; omit to leave unchanged. Rejected once any DEA entry exists under the old or new code — the (book, container) ledger keys on it.

Response

OK

idstring
inventoryLotIdstring
containerCodestring nullable
inventoryLocationIdstring nullable
statusstring
openedAtstring date-time nullable
isActiveboolean
deaDestroyedboolean

True when this container has been destroyed in the DEA log (its controlled ledger is closed). Such a container is read-only on the inventory side — any correction must be recorded from the controlled-substances (DEA) log. Derived live from the ledger, not stored on the container row.

createdAtstring date-time
updatedAtstring date-time