版本:202201
查询商品图片数量
GET/openapi/2022-01/products/:product_id/images/count
返回指定商品的图片总数。
请求
Path参数
product_id string必填
商品 ID。
响应
- 200
- 422
200
- application/json
- 数据结构
- 示例
- Result
数据结构
countinteger
默认值:
0示例:
1{
"count": 1
}
{
"count": 1
}
422
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"ProductId must be a valid UUID"
]
}
{
"errors": [
"ProductId must be a valid UUID"
]
}