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

    Interface GetOptimizationSuggestionProductResponse

    Response for get_optimization_suggestion_product API

    interface GetOptimizationSuggestionProductResponse {
        error: string;
        message: string;
        request_id: string;
        response: {
            item_list?: {
                current_rate?: number;
                item_id: number;
                item_name?: string;
                rcmd_reason?: string;
                suggested_rate?: number;
            }[];
            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: {
        item_list?: {
            current_rate?: number;
            item_id: number;
            item_name?: string;
            rcmd_reason?: string;
            suggested_rate?: number;
        }[];
        total_count?: number;
    }

    Type Declaration

    • Optionalitem_list?: {
          current_rate?: number;
          item_id: number;
          item_name?: string;
          rcmd_reason?: string;
          suggested_rate?: number;
      }[]

      List of products with optimization suggestions

    • Optionaltotal_count?: number

      Total count

    warning?: string | string[]

    Warning message or list of warning messages