[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fwarehouses\u002Fstock-record":3,"docs-tabs-entities\u002Fwarehouses\u002Fstock-record":6},{"content":4,"lastmod":5},"\n## Warehouse stock record\n\n`GET \u002Fv1\u002Fwarehouses\u002F:id\u002Fstock\u002F:recordId`\n\nReads one warehouse stock row. Its ID differs from the product and warehouse IDs. Requires the `catalog` scope. Read-only keys are accepted.\n\n## Path parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `id` (path) | number | yes | Warehouse ID from the [warehouse list](.\u002Flist.md), a canonical positive safe integer |\n| `recordId` (path) | number | yes | Stock row ID from the [stock list](.\u002Fstock.md), a canonical positive safe integer |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fwarehouses\u002F1\u002Fstock\u002F3\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fwarehouses\u002F1\u002Fstock\u002F3\" \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\"\n```\n\n### JavaScript — personal key\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fwarehouses\u002F1\u002Fstock\u002F3', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log('Stock:', data.amount)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fwarehouses\u002F1\u002Fstock\u002F3', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log('Stock:', data.amount)\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | `true` on success |\n| `data` | object | Warehouse stock row from the [stock list](.\u002Fstock.md) — fields listed below |\n| `data.id` | number | Stock row ID from the [stock list](.\u002Fstock.md) |\n| `data.productId` | number | Product ID from the [catalog product list](\u002Fdocs\u002Fentities\u002Fcatalog-products\u002Flist) |\n| `data.storeId` | number | Warehouse ID from the [warehouse list](.\u002Flist.md) |\n| `data.amount` | number \\| null | Stock amount |\n| `data.quantityReserved` | number \\| null | Reserved amount, which may exceed stock |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 3,\n    \"productId\": 6595,\n    \"storeId\": 1,\n    \"amount\": 15,\n    \"quantityReserved\": 30\n  }\n}\n```\n\n## Error response example\n\n404 — the stock row was not found in the specified warehouse:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Warehouse stock record not found\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | Invalid `id` or `recordId`, refused before calling Bitrix24 |\n| 401 | `TOKEN_MISSING` | No configured tokens |\n| 403 | `SCOPE_DENIED` | Missing `catalog` scope |\n| 403 | `BITRIX_ACCESS_DENIED` | Bitrix24 explicitly denied method access |\n| 404 | `ENTITY_NOT_FOUND` | The row is missing, inaccessible, or belongs to another warehouse |\n| 422 | `BITRIX_ERROR` | Bitrix24 business refusal |\n| 429 | `QUEUE_OVERFLOW` | Call queue is full |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 unavailable |\n| 503 | `BITRIX_TIMEOUT` | Bitrix24 timeout |\n\nSee the full list of common errors in [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Warehouse stock](\u002Fdocs\u002Fentities\u002Fwarehouses\u002Fstock)\n- [Stock totals](\u002Fdocs\u002Fentities\u002Fwarehouses\u002Fstock-totals)\n","2026-10-15",{},1795343907160]