Receive a lot, optionally leaving stock waiting to be put away
Any lab member may receive a lot. One run stocks one location. Each run sends an idempotency key and prints it: a dropped connection is retried within the run under that key, so it stocks once. If a run fails without an answer, rerun it with the same --idempotency-key and flags: the API replays the first receipt instead of stocking again. A rerun without the key is a new receive and stocks a second lot. `items list` shows the new stock. Needs a signed-in session: an API token is refused with token_write_not_allowed.
labbench lots receive [flags]
labbench lots receive --lot <lot> --material <material> --unit <unit>
| Flag | Type | Default | Description |
|---|---|---|---|
--catalog-number | string | the maker's catalog number, under the same rule as --maker | |
--handling-notes | string | handling guidance for a new material | |
--humidity | string | humidity guidance for a new material | |
--idempotency-key | string | receive key (UUID); resend the same key and flags to retry safely (default: a new one) | |
--location | string | location id, as `locations list` prints it | |
--lot (required) | string | the supplier's lot number | |
--maker | string | who made the material; recorded when this receive creates the material or the material records none, and refused when the material records a different one (compared ignoring case) | |
--material (required) | string | what the lot is, e.g. "Taq polymerase" | |
--new-unit | bool | false | deliberately add this counted unit if it is unknown; measures remain refused |
--quantity | int | 0 | how many units arrived |
--storage-temperature-from-c | float64 | 0 | lower Celsius storage bound for a new material; left out, none is recorded |
--storage-temperature-to-c | float64 | 0 | upper Celsius storage bound for a new material; left out, none is recorded |
--supplier | string | who sold and shipped the lot, e.g. "Fisher Scientific" | |
--total | int | 0 | total received units, including units to put away later |
--unit (required) | string | what one unit is, e.g. tubes; list known units with labbench lots units |
Every command also accepts the global flags.