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

    Interface UpdateShopFlashSaleItemsModel

    UpdateShopFlashSaleItemsModel sub-interface for UpdateShopFlashSaleItemsItem

    interface UpdateShopFlashSaleItemsModel {
        input_promo_price?: number;
        model_id: number;
        status: number;
        stock?: number;
    }
    Index

    Properties

    input_promo_price?: number

    promotion price without taxif the model is enabled(status = 1) now, you can't set this field, you can only disable the modelif the model is disabled(status = 0) now and you want to set this field, you should also set status to 1

    model_id: number

    If the item has variation, this param is necessary.

    status: number

    you can use this field to set the status of model0: disable1: enable

    stock?: number

    min=1, Campaign Stock, Campaign stock can only be reserved from either Shopee stock or Seller stockif the model is enabled(status = 1) now, you can't set this field, you can only disable the modelif the model is disabled(status = 0) now and you want to set this field, you should also set status to 1