**版本：202601**

# 删除子款式

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

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

## 请求

**Path参数**

- `product_id` string (required)

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

  待删除的子款式 ID

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `` object

```json
{
  "code": "string",
  "message": "string",
  "data": {}
}
```
