[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fdeals\u002Fproducts-get-single":3,"docs-tabs-entities\u002Fdeals\u002Fproducts-get-single":6},{"content":4,"lastmod":5},"## Get a product from a deal\n\n`GET \u002Fv1\u002Fdeals\u002F:id\u002Fproducts\u002F:rowId`\n\nReturns a single deal product row by row ID.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `id` (path) | number | yes | Deal ID. List: [`GET \u002Fv1\u002Fdeals`](\u002Fdocs\u002Fentities\u002Fdeals\u002Flist) |\n| `rowId` (path) | number | yes | Product row ID. List: [`GET \u002Fv1\u002Fdeals\u002F:id\u002Fproducts`](\u002Fdocs\u002Fentities\u002Fdeals\u002Fproducts-get) |\n\n`rowId` is the product row ID, not the `productId` from the product catalog.\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X GET \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fdeals\u002F741\u002Fproducts\u002F1471\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -X GET \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fdeals\u002F741\u002Fproducts\u002F1471\" \\\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\u002Fdeals\u002F741\u002Fproducts\u002F1471', {\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nconst { success, data } = await res.json()\nconsole.log('Price:', data.price)\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fdeals\u002F741\u002Fproducts\u002F1471', {\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nconst { success, data } = await res.json()\n```\n\n## Response fields\n\n| Field | Type | Description |\n|------|-----|---------|\n| `success` | boolean | Always `true` on success |\n| `data` | object | Deal product row |\n| `data.id` | number | Product row ID |\n| `data.productId` | number | Catalog product ID |\n| `data.productName` | string | Product name |\n| `data.price` | number | Unit price |\n| `data.quantity` | number | Quantity |\n| `data.discount` | number | Discount amount |\n| `data.discountRate` | number | Discount percentage |\n| `data.discountTypeId` | number | Discount type (1 — amount, 2 — percentage) |\n| `data.taxRate` | number \\| null | Tax rate (%) |\n| `data.taxIncluded` | boolean | Tax included in price |\n| `data.customized` | string | Row modification flag: `Y` or `N` |\n| `data.priceExclusive` | number | Price excluding tax, with discount |\n| `data.priceNetto` | number | Net price |\n| `data.priceBrutto` | number | Gross price |\n| `data.priceAccount` | number | Price in the reporting currency |\n| `data.measureCode` | number | Unit of measure code |\n| `data.measureName` | string | Unit of measure name |\n| `data.sort` | number | Sort order |\n| `data.ownerId` | number | ID of the owner entity the row belongs to |\n| `data.ownerType` | string | Row owner type, `D` for a deal |\n| `data.storeId` | number \\| null | Warehouse ID. List: `GET \u002Fv1\u002Fwarehouses`. `null` when inventory management is off |\n| `data.xmlId` | string | External code of the row |\n| `data.type` | number | Product type — the same value as the product's `type` in `GET \u002Fv1\u002Fcatalog-products\u002F:id`: `1` — simple product, `3` — parent product with variations, `7` — service |\n\n## Response example\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1471,\n    \"productId\": 1,\n    \"productName\": \"Server equipment\",\n    \"price\": 5000,\n    \"priceAccount\": 5000,\n    \"priceExclusive\": 5000,\n    \"priceNetto\": 5000,\n    \"priceBrutto\": 5000,\n    \"quantity\": 3,\n    \"discountTypeId\": 2,\n    \"discountRate\": 0,\n    \"discount\": 0,\n    \"taxRate\": null,\n    \"taxIncluded\": false,\n    \"customized\": \"Y\",\n    \"measureCode\": 796,\n    \"measureName\": \"pcs\",\n    \"sort\": 0,\n    \"ownerId\": 741,\n    \"ownerType\": \"D\",\n    \"storeId\": 3,\n    \"xmlId\": \"sale_basket_995\",\n    \"type\": 1\n  }\n}\n```\n\n## Error response example\n\n404 — no product row with this `rowId`:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"Item not found\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_ROW_ID` | `rowId` in the path is not a positive integer. The message is `Product row ID must be a positive integer` |\n| 404 | `ENTITY_NOT_FOUND` | No product row with this `rowId`. The message is `Item not found` |\n| 404 | `ENTITY_NOT_FOUND` | A row with this `rowId` exists but belongs to another CRM record, not to deal `id`, or has no owner and cannot pass the check. The message is `Product row not found` |\n| 403 | `SCOPE_DENIED` | API key lacks the `crm` scope |\n| 401 | `TOKEN_MISSING` | API key has no configured tokens |\n| 429 | `RATE_LIMITED` | Rate limit exceeded: 300 requests per minute per portal. All API keys of the portal share one limit. The current limit is returned in the `x-ratelimit-limit` header. Retry after the delay in the `Retry-After` header |\n\nFor the full list of common API errors, see [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Product rows](\u002Fdocs\u002Fentities\u002Fdeals\u002Fproducts-get)\n- [Update a product](\u002Fdocs\u002Fentities\u002Fdeals\u002Fproducts-update)\n- [Add a product](\u002Fdocs\u002Fentities\u002Fdeals\u002Fproducts-add)\n- [Delete a product](\u002Fdocs\u002Fentities\u002Fdeals\u002Fproducts-delete)\n- [CRM products](\u002Fdocs\u002Fentities\u002Fproducts)\n","2026-10-23",{},1794739369188]