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

    Interface UpdateStockResponse

    Response for updating product stock

    interface UpdateStockResponse {
        error: string;
        message: string;
        request_id: string;
        response: {
            failure_list?: { failed_reason: string; model_id: number }[];
            success_list?: UpdateStockResultItem[];
        };
        result?: {
            failure_list?: { failed_reason: string; model_id: number }[];
            success_list?: UpdateStockResultItem[];
        };
    }

    Hierarchy (View Summary)

    • FetchResponse<
          {
              failure_list?: { failed_reason: string; model_id: number }[];
              success_list?: UpdateStockResultItem[];
          },
      >
      • UpdateStockResponse
    Index

    Properties

    error: string
    message: string
    request_id: string
    response: {
        failure_list?: { failed_reason: string; model_id: number }[];
        success_list?: UpdateStockResultItem[];
    }

    Type Declaration

    • Optionalfailure_list?: { failed_reason: string; model_id: number }[]

      List of failed updates

    • Optionalsuccess_list?: UpdateStockResultItem[]

      List of successfully updated stock

    result?: {
        failure_list?: { failed_reason: string; model_id: number }[];
        success_list?: UpdateStockResultItem[];
    }

    Type Declaration

    • Optionalfailure_list?: { failed_reason: string; model_id: number }[]

      List of failed updates

    • Optionalsuccess_list?: UpdateStockResultItem[]

      List of successfully updated stock