Shopee SDK API Reference - v2.8.0
    Preparing search index...

    Interface GetMetricTrendRequest

    Request parameters for get_metric_trend

    Query video data indicator trends.

    interface GetMetricTrendRequest {
        end_date: string;
        period_type: string;
    }
    Index

    Properties

    end_date: string

    The end_date format should be "YYYY-MM-DD".- For Day, Last7d, Last15d, and Last30d, the end_date must before current day.- For Week, the end_date must be Sunday and must be less than or equal to the current week.- For Month, the end_date must be the end of the month and must be less than or equal to the current month.

    period_type: string

    Period Type. Applicable values:DayWeekMonthLast7dLast15dLast30dNote: The end date must align with the Period Type.