版本:202201
查询集合关联数量
GET/openapi/2022-01/collects/count
返回符合条件的集合关联总数。
请求
Query参数
product_id string
商品 ID。
collection_id string
集合 ID。
响应
- 200
- 422
200
- application/json
- 数据结构
- 示例
- Result
数据结构
countinteger
默认值:
0示例:
2{
"count": 2
}
{
"count": 2
}
422
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"CollectionID must be a valid UUID"
]
}
{
"errors": [
"CollectionID must be a valid UUID",
"ProductID must be a valid UUID"
]
}