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

    Interface UpdateDiscountRequest

    Request parameters for update_discount

    Use this api to update one discount information

    interface UpdateDiscountRequest {
        discount_id: number;
        discount_name?: string;
        end_time?: number;
        start_time?: number;
    }
    Index

    Properties

    discount_id: number

    Shopee's unique identifier for a discount activity.

    discount_name?: string

    Title of the discount.

    end_time?: number

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

    start_time?: number

    The time when discount activity start. The new start time must later than original start time.