版本:202506
查询评论列表
GET/openapi/2025-06/comments/list
分页返回评论列表。
请求
Query参数
cursor string
分页游标
page_size int32
每页记录数
product_id string
商品 ID
created_at_min string
创建开始时间
created_at_max string
创建结束时间
updated_at_min string
更新开始时间
updated_at_max string
更新结束时间
sort_by string
排序字段
sort_direction string
排序顺序,asc 或者 desc
status string
状态,1:发布 0:未发布
响应
- 200
OK
- application/json
- 数据结构
- 示例
数据结构
- Array [
- ]
codestring
错误码
messagestring
错误信息
data object
comments object[]
评论列表
idint32
评论的唯一标识
store_idint32
评论创建所在店铺的 ID
user_namestring
发布评论的用户名
emailstring
用户的电子邮件地址(如已提供)
starstring
用户提供的评分
likeint32
评论的点赞数
contentstring
评论内容
imagesstring[]
评论图片 URL 列表
statusint32
评论状态:1 为已发布,0 为未发布
typeint32
评论类型
product_idstring
与评论关联的商品 ID
created_atstring
评论创建时间,ISO-8601 格式:YYYY-MM-DD HH:mm:ss
updated_atstring
评论最后更新时间,ISO-8601 格式
countrystring
评论创建所在国家代码
is_featuredint32
评论是否为精选(0:否,1:是)
is_verifiedint32
评论是否已验证(0:否,1:是)
client_idstring
创建评论的客户端 ID
anonymousint32
评论是否匿名发布(0:否,1:是)
product_publishedint32
商品是否已发布
cursorstring
分页游标
has_moreboolean
是否有更多记录
{
"code": "string",
"message": "string",
"data": {
"comments": [
{
"id": 0,
"store_id": 0,
"user_name": "string",
"email": "string",
"star": "string",
"like": 0,
"content": "string",
"images": [
"string"
],
"status": 0,
"type": 0,
"product_id": "string",
"created_at": "string",
"updated_at": "string",
"country": "string",
"is_featured": 0,
"is_verified": 0,
"client_id": "string",
"anonymous": 0,
"product_published": 0
}
],
"cursor": "string",
"has_more": true
}
}