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

    Interface AddDiscountParams

    Parameters for adding a new discount

    interface AddDiscountParams {
        discount_name: string;
        end_time: number;
        start_time: number;
    }
    Index

    Properties

    discount_name: string

    Title of the discount

    end_time: number

    The time when discount activity end. Must be 1 hour later than start time, and the discount period must be less than 180 days

    start_time: number

    The time when discount activity start. Must be 1 hour later than current time