# Product stock

`GET /api/v1/products/{id}/stock`

The product's current quantity in the ERP and its warehouse breakdown. For direct ERP connections it is read live and cached for 10 minutes (`cached`, `at`); for Solk ERP API and Excel connections the last sent / uploaded quantity is returned. `force=1` skips the cache. If the product is not matched to an ERP item: `stock` error.

## Path parameters

| Field | Type | Description |
|---|---|---|
| `id` (required) | integer | Product id. |

## Query parameters

| Field | Type | Description |
|---|---|---|
| `force` | integer | 1 = skip the cache. Values: `1` |

## Response

```json 200
{
  "ok": true,
  "stock": {
    "at": "2026-10-09T23:14",
    "cached": true,
    "code": "HS30",
    "conn": "Logo ara katmanı",
    "ok": true,
    "qty": 5769.0,
    "unit": "kg",
    "wh": [
      {
        "n": "Merkez",
        "q": 4200.0
      }
    ]
  }
}
```
