Shopee SDK API Reference - v1.11.0
    Preparing search index...

    Type Alias CommentItem

    Individual comment information

    type CommentItem = {
        buyer_username: string;
        comment: string;
        comment_id: number;
        comment_reply?: CommentReply;
        create_time: number;
        editable: string;
        hidden: boolean;
        item_id: number;
        media: CommentMedia;
        model_id: number;
        model_id_list: number[];
        order_sn: string;
        rating_star: number;
    }
    Index

    Properties

    buyer_username: string

    The username of the buyer who posted the comment

    comment: string

    The content of the comment

    comment_id: number

    The identity of comment

    comment_reply?: CommentReply

    The reply information for the comment

    create_time: number

    The create time of the comment

    editable: string

    The editable status of the comment (EXPIRED/EDITABLE/HAVE_EDIT_ONCE)

    hidden: boolean

    Whether the comment is hidden or not

    item_id: number

    The commented item's id

    Media information for the comment

    model_id: number

    Shopee's unique identifier for a model of an item (will be offline on 2024-12-27)

    model_id_list: number[]

    List of model IDs of the buyer's purchase corresponding to the comment

    order_sn: string

    Shopee's unique identifier for an order

    rating_star: number

    Buyer's rating for the item (1-5)