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

    Interface GetPunishmentHistoryResponse

    Response for the get punishment history API

    interface GetPunishmentHistoryResponse {
        error: string;
        message: string;
        request_id: string;
        response: { punishment_list: PunishmentRecord[]; total_count: number };
        warning?: string | string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    error: string

    Error code if any error occurred

    message: string

    Error message if any error occurred

    request_id: string

    The identifier for an API request for error tracking

    response: { punishment_list: PunishmentRecord[]; total_count: number }

    Type Declaration

    • punishment_list: PunishmentRecord[]

      List of punishment records generated in the current quarter

    • total_count: number

      Total number of punishment records

    warning?: string | string[]

    Warning message or list of warning messages