**版本：202201**

# 批量删除采购项

**DELETE** `/openapi/2022-01/procurements/:id/items`

批量删除指定采购单中的采购项。

## 请求

**Path参数**

- `id` string (required)

  Procurement's ID

**application/json**

**请求体 | 示例**

**请求体**

- `procurement_item_ids` string[]

  Procurements's IDs

```json
{
  "procurement_item_ids": [
    "string"
  ]
}
```

## 响应

**200 | 400 | 422**

200

**application/json**

无 Schema

400

**text/plain**

**数据结构 | 示例 | Result**

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "invalid procurement_id"
  ]
}
```

```shell
{
  "errors": [
    "invalid procurement_id"
  ]
}
```

422

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "The procurement cannot be operated"
  ]
}
```

```json
{
  "errors": [
    "The procurement cannot be operated"
  ]
}
```
