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

    Interface QueryAffiliateListResponse

    Response for query_affiliate_list API

    interface QueryAffiliateListResponse {
        error: string;
        message: string;
        request_id: string;
        response: {
            affiliate_list?: {
                affiliate_id: number;
                affiliate_name?: string;
                avatar_url?: string;
            }[];
        };
        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: {
        affiliate_list?: {
            affiliate_id: number;
            affiliate_name?: string;
            avatar_url?: string;
        }[];
    }

    Type Declaration

    • Optionalaffiliate_list?: { affiliate_id: number; affiliate_name?: string; avatar_url?: string }[]

      List of affiliates

    warning?: string | string[]

    Warning message or list of warning messages