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

    Interface AddDiscountRequest

    Request parameters for add_discount

    Use this api to add shop discount activity

    interface AddDiscountRequest {
        discount_name: string;
        end_time: number | Date;
        start_time: number | Date;
    }
    Index

    Properties

    discount_name: string

    Title of the discount.

    end_time: number | Date

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

    start_time: number | Date

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