[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fitems\u002Fproducts-delete":3,"docs-tabs-entities\u002Fitems\u002Fproducts-delete":6},{"content":4,"lastmod":5},"\n## Delete a product from a smart process item\n\n`DELETE \u002Fv1\u002Fitems\u002F:entityTypeId\u002F:id\u002Fproducts\u002F:rowId`\n\nDeletes a single product row from a smart process item by row ID.\n\nUse the `entityTypeId` field from [`GET \u002Fv1\u002Fsmart-processes`](\u002Fdocs\u002Fentities\u002Fsmart-processes\u002Flist) in the `\u002Fv1\u002Fitems\u002F:entityTypeId` path. The type record's internal `id` is a different identifier. For example, if a type is returned as `{ \"id\": 3, \"entityTypeId\": 174 }`, the path starts with `\u002Fv1\u002Fitems\u002F174`. Use the returned value rather than assuming all type IDs start at 1030.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `entityTypeId` (path) | number | yes | Smart process type ID |\n| `id` (path) | number | yes | Item ID |\n| `rowId` (path) | number | yes | Product row ID (from the add or list response) |\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 DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fitems\u002F180\u002F47\u002Fproducts\u002F1465\" \\\n  -H \"X-Api-Key: YOUR_API_KEY\"\n```\n\n### curl — OAuth application\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fitems\u002F180\u002F47\u002Fproducts\u002F1465\" \\\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\u002Fitems\u002F180\u002F47\u002Fproducts\u002F1465', {\n  method: 'DELETE',\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nif (res.status === 204) {\n  console.log('Product deleted')\n}\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fitems\u002F180\u002F47\u002Fproducts\u002F1465', {\n  method: 'DELETE',\n  headers: {\n    'X-Api-Key': 'YOUR_APP_KEY',\n    'Authorization': 'Bearer USER_SESSION_TOKEN',\n  },\n})\n\nif (res.status === 204) {\n  console.log('Product deleted')\n}\n```\n\n## Response\n\nOn success, the API returns `204 No Content` with an empty body — check the status code to confirm success.\n\n## Response example\n\n```\nHTTP\u002F1.1 204 No Content\n```\n\n## Error response example\n\n404 — item not found:\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_DYNAMIC_PARAM` | `entityTypeId` is not a positive integer or is reserved (1, 2, 3, 4, 7, 31) |\n| 400 | `INVALID_ROW_ID` | `rowId` is not a positive integer |\n| 404 | `ENTITY_NOT_FOUND` | Item or product row not found |\n| 403 | `SCOPE_DENIED` | The API key does not have the `crm` scope |\n| 401 | `TOKEN_MISSING` | The API key has no configured tokens |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## See also\n\n- [Product rows](\u002Fdocs\u002Fentities\u002Fitems\u002Fproducts-get)\n- [Add a product](\u002Fdocs\u002Fentities\u002Fitems\u002Fproducts-add)\n- [Set products](\u002Fdocs\u002Fentities\u002Fitems\u002Fproducts-set)\n- [CRM products](\u002Fdocs\u002Fentities\u002Fproducts)\n","2026-10-13",{},1794739384074]