labbench items shelf | All commands

labbench items shelf set

Put an item's stock on a shelf of its location (managers only)

Put the item's stock on one of its location's active shelves (`labbench locations shelves list LOCATION_ID`). The item stays at its location. A retired shelf or one in another location is refused and the item keeps its shelf. Repeating the same request is safe; the command never retries on its own. Needs a signed-in manager session (labbench login); an API token is refused.

Usage

labbench items shelf set ITEM_ID [flags]

Example

labbench items shelf set ITEM_ID --shelf-id <shelf-id>

Flags

FlagTypeDefaultDescription
--shelf-id (required)stringid of an active shelf in the item's location

Every command also accepts the global flags.