[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-entities\u002Forder-properties\u002Fdelete":3,"docs-tabs-entities\u002Forder-properties\u002Fdelete":6},{"content":4,"lastmod":5},"## Delete an order property\n\n`DELETE \u002Fv1\u002Forder-properties\u002F:id`\n\nDeletes the order field definition with the specified ID from the online store's list of order properties. A deleted definition cannot be restored through the API; create a new one if needed.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|----------|-----|:-----:|---------|\n| `id` (path) | number | yes | Order property ID. List: [`GET \u002Fv1\u002Forder-properties`](.\u002Flist.md) |\n\n## Examples\n\n### curl — personal key\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Forder-properties\u002F125\" \\\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\u002Forder-properties\u002F125\" \\\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\u002Forder-properties\u002F125', {\n  method: 'DELETE',\n  headers: {\n    'X-Api-Key': 'YOUR_API_KEY',\n  },\n})\n\nif (res.status === 204) {\n  console.log('Order property deleted')\n}\n```\n\n### JavaScript — OAuth application\n\n```javascript\nconst res = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Forder-properties\u002F125', {\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('Order property deleted')\n}\n```\n\n## Response\n\nA successful deletion returns HTTP `204 No Content` with an empty body. Check the status code to confirm success.\n\n## Response example\n\n```http\nHTTP\u002F1.1 204 No Content\n```\n\n## Error response example\n\n404 — the property has already been deleted:\n\n```json\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"ENTITY_NOT_FOUND\",\n    \"message\": \"property is not exists\"\n  }\n}\n```\n\n## Errors\n\n| HTTP | Code | Description |\n|------|-----|---------|\n| 400 | `INVALID_PARAMS` | The path `id` is not a non-negative integer |\n| 404 | `ENTITY_NOT_FOUND` | No property exists with this `id`, or it has already been deleted. Message: `property is not exists` |\n| 422 | `BITRIX_ERROR` | Bitrix24 rejected the operation. The reason is in `message` |\n| 422 | `BITRIX_ERROR` | The key's user does not have permission in Bitrix24. The Bitrix24 code is in `error.b24Code`: `200040300020` |\n| 403 | `BITRIX_ACCESS_DENIED` | The portal credentials do not have the `sale` scope (`insufficient_scope`) |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | The key is in read-only mode |\n| 403 | `SCOPE_DENIED` | The API key does not have the `sale` scope |\n| 401 | `MISSING_API_KEY` | The `X-Api-Key` header is missing |\n| 401 | `TOKEN_MISSING` | The API key has no configured tokens |\n\nFor the full list of shared API errors, see [Error codes](\u002Fdocs\u002Ferrors).\n\n## Known specifics\n\nValues in existing orders are preserved, but their link to the property definition is removed. List options, values in buyer profiles, and the property definition's links to payment systems and delivery services are deleted.\n\nTo deactivate your property instead of deleting it, pass `active: false` to [`PATCH \u002Fv1\u002Forder-properties\u002F:id`](.\u002Fupdate.md).\n\n## See also\n\n- [Order properties](\u002Fdocs\u002Fentities\u002Forder-properties)\n- [Update an order property](.\u002Fupdate.md)\n- [Get an order property](.\u002Fget.md)\n- [Create an order property](.\u002Fcreate.md)\n","2026-10-09",{},1795415262605]