# Send stock

`POST /api/erp/v1/stock`

Writes the quantity on hand and the warehouse breakdown by item code (`warehouses: [{name, qty}]`; without `qty` the warehouses are summed). *Stock* on orders and the product list shows this value.

## Body

| Field | Type | Description |
|---|---|---|
| `items` (required) | array | Stock: `code`, `qty`, `warehouses` (`name`, `qty`). |

## Response

```json 200
{
  "ok": true,
  "received": 1
}
```
