跳到主要内容
版本:202201

查询评论列表

GET 

/openapi/2022-01/comments/list

分页返回评论列表。

请求

Query参数

    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。

    page int32

    Page number

    limit int32

    Limit per page, 10, 20, 50, 100 allowed

    status string

    状态,1:发布 0:未发布。

响应

200

数据结构
    comments object[]
  • Array [
  • idstring
    示例: 23532434
    store_idstring
    示例: 633130
    usernamestring
    示例: Joey
    emailstring
    示例:
    starstring
    示例: 5.0
    likestring
    示例: 10
    contentstring
    示例: Cheap but beautiful
    imgstring
    示例: ["0048955f731656d0e7fc8b5e03509ed7.webp?width=650&height=433"]
    statusstring
    示例: 1
    typestring
    示例: 1
    product_idstring
    示例: a1a88be0-a1d4-47e4-a2f2-ba6e131cf447
    created_atstring
    示例: 2024-04-24 14:02:39
    updated_atstring
    示例: 2024-04-25 08:22:59
    countrystring
    示例: CN
    is_featuredstring
    示例: 0
    is_verifiedstring
    示例: 0
    client_id
    anonymousstring
    示例: 0
  • ]
  • totalstring
    示例: 6
    pagestring
    示例: 1