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

    Interface GetAffiliatePerformanceResponse

    Response for get_affiliate_performance API

    interface GetAffiliatePerformanceResponse {
        error: string;
        message: string;
        request_id: string;
        response: {
            data_list?: {
                affiliate_id: number;
                affiliate_name?: string;
                clicks?: number;
                est_commission?: string;
                orders?: number;
                sales?: string;
            }[];
            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: {
        data_list?: {
            affiliate_id: number;
            affiliate_name?: string;
            clicks?: number;
            est_commission?: string;
            orders?: number;
            sales?: string;
        }[];
        total_count?: number;
    }

    Type Declaration

    • Optionaldata_list?: {
          affiliate_id: number;
          affiliate_name?: string;
          clicks?: number;
          est_commission?: string;
          orders?: number;
          sales?: string;
      }[]

      List of affiliate performance data

    • Optionaltotal_count?: number

      Total count

    warning?: string | string[]

    Warning message or list of warning messages