Remove inventory
farmbrite_remove_inventoryWRITE: take stock out of an inventory item in a storage location (use, loss, sale). Lowers the quantity remaining; not idempotent: repeating removes again. It cannot be undone with this server except by adding stock back. PUT /inventory_types/{id}/inventory/remove.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| bin_id | No | Bin id inside the warehouse (a Farmbrite id string). | |
| order_id | No | Order id the stock was used for (a Farmbrite id string). | |
| adjustment | Yes | Quantity to remove (positive, in the item's unit). | |
| lot_number | No | ||
| description | No | ||
| warehouse_id | Yes | Storage location (warehouse) id (a Farmbrite id string). | |
| inventory_type_id | Yes | Inventory type id (a Farmbrite id string). |