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

    Interface UpdateShopFlashSaleItemsItem

    UpdateShopFlashSaleItemsItem sub-interface for UpdateShopFlashSaleItemsRequest

    interface UpdateShopFlashSaleItemsItem {
        item_id: number;
        item_input_promo_price?: number;
        item_status?: number;
        item_stock?: number;
        models?: UpdateShopFlashSaleItemsModel[];
        purchase_limit?: number;
    }
    Index

    Properties

    item_id: number
    item_input_promo_price?: number

    The promotion price of the item. If the item has no variation, you can use this field to update the promotion price of the item, otherwise don't use this fieldif the item is enabled(item_status = 1) now, you can't set this field, you can only disable the itemif the item is disabled(item_status = 0) now and you want to set this field, you should also set item_status to 1

    item_status?: number

    The status of the item. If the item has no variation, this param is necessary, otherwise don't use this fieldyou can use this field to set the status of item0: disable1: enable

    item_stock?: number

    min=1, The campaign stock of the item. If the item has no variation, you can use this field to update the campaign stock of the item, otherwise don't use this fieldif the item is enabled(item_status = 1) now, you can't set this field, you can only disable the itemif the item is disabled(item_status = 0) now and you want to set this field, you should also set item_status to 1

    If the item has variation, this param is necessary, otherwise please don't use this field

    purchase_limit?: number

    min=0, 0 means no limitif the item is in enabled status or the item has models in enabled status, you can't set this field