**版本：202201**

# 查询商品图片数量

**GET** `/openapi/2022-01/products/:product_id/images/count`

返回指定商品的图片总数。

## 请求

**Path参数**

- `product_id` string (required)

  商品 ID。

## 响应

**200 | 422**

200

**application/json**

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

**数据结构**

- `count` integer

  **默认值：** `0`

  **示例：** `1`

```json
{
  "count": 1
}
```

```json
{
    "count": 1
}
```

422

**application/json**

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

**数据结构**

- `errors` string[]

```json
{
  "errors": [
    "ProductId must be a valid UUID"
  ]
}
```

```json
{
  "errors": [
    "ProductId must be a valid UUID"
  ]
}
```
