**版本：202201**

# 删除子款式

**DELETE** `/openapi/2022-01/products/:product_id/variants/:variant_id`

通过子款式 ID 删除指定子款式。

## 请求

**Path参数**

- `product_id` string (required)

  子款式所属的商品 ID。
- `variant_id` string (required)

  待删除的子款式 ID。

## 响应

**200 | 404**

200

**application/json**

无 Schema

404

**application/json**

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

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "Invalid uuid"
  ]
}
```

```json
{
  "errors": [
    "Invalid uuid"
  ]
}
```
