[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Fcatalog-skus\u002Fdelete":3,"docs-tabs-entities\u002Fcatalog-skus\u002Fdelete":6},{"content":4,"lastmod":5},"## Delete an SKU\n\n`DELETE \u002Fv1\u002Fcatalog-skus\u002F:id`\n\nDeletes a parent product by identifier together with all its offers. A deleted product and its offers cannot be restored via the API — create them again if needed.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `id` (path) | number | yes | Parent product identifier. List: [`GET \u002Fv1\u002Fcatalog-skus`](.\u002Flist.md) |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-skus\u002F7203\" \\\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\u002Fcatalog-skus\u002F7203\" \\\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\u002Fcatalog-skus\u002F7203', {\n  method: 'DELETE',\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nif (res.status === 204) {\n  console.log('Parent product deleted')\n}\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fcatalog-skus\u002F7203', {\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('Parent product deleted')\n}\n```\n\n## Response\n\nOn successful deletion, an HTTP status `204 No Content` is returned with an empty body — success is checked by the status.\n\n## Response example\n\n```http\nHTTP\u002F1.1 204 No Content\n```\n\n## Error response example\n\n404 — no parent product with the specified `id` exists:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"sku does not exist.\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|----------|\n| 404 | `ENTITY_NOT_FOUND` | No product with the specified `id` exists, including on a repeated delete request (`sku does not exist.`) |\n| 422 | `BITRIX_ERROR` | An offer of the parent product cannot be deleted because it is used in inventory documents. The Bitrix24 message names the offer by its `#\u003Cid>` and name. The parent product and its offers stay in place |\n| 403 | `SCOPE_DENIED` | The key lacks the `catalog` scope |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header was not passed |\n\nFull list of common API errors — [Errors](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\n**Offers are deleted together with the parent product.** After `204`, a request for any of its offers — [`GET \u002Fv1\u002Fcatalog-offers\u002F:id`](\u002Fdocs\u002Fentities\u002Fcatalog-offers\u002Fget) — returns `404 ENTITY_NOT_FOUND`.\n\n**The method does not check that the `id` belongs to a parent product.** With the `id` of a regular product, the call returns `204` and deletes that product. Check the record before deleting: [`GET \u002Fv1\u002Fcatalog-skus\u002F:id`](.\u002Fget.md) returns `404 ENTITY_NOT_FOUND` for an `id` that does not belong to a parent product.\n\n## See also\n\n- [Create an SKU](\u002Fdocs\u002Fentities\u002Fcatalog-skus\u002Fcreate)\n- [List SKUs](\u002Fdocs\u002Fentities\u002Fcatalog-skus\u002Flist)\n- [Get an SKU](\u002Fdocs\u002Fentities\u002Fcatalog-skus\u002Fget)\n- [Update an SKU](\u002Fdocs\u002Fentities\u002Fcatalog-skus\u002Fupdate)\n- [Catalog offers](\u002Fdocs\u002Fentities\u002Fcatalog-offers)\n- [Batch](\u002Fdocs\u002Fbatch)\n- [Limits and optimization](\u002Fdocs\u002Foptimization)\n","2026-10-09",{},1795415204319]