# List of Events

Note: status is 0 for The rush is not over, whether it starts or not Status is 1 for finished Panic buying mission If you do not fill in status, pull both

# Interface call request specification

Http request method: POST
https://api.weixin.qq.com/product/limiteddiscount/get_list/access_token=xxxxxxxxx

# Request Parameter Sample

{
    "status":0
}

# Return Package Example

{
    "errcode": 0,
    "limited_discount_list": 
    [
        {
            "task_id": 285135,
            "product_id": 2206705,
            "status": 0,
            "create_time": 1614759730,
            "start_time": 1614759660,
            "end_time": 1614846119,
            "limited_discount_sku_list": [
                {
                    "sku_id": 8147206,
                    "sale_price": 200,
                    "sale_stock": 10
                }
            ]
        },
        {
            "task_id": 285131,
            "product_id": 2437954,
            "status": 0,
            "create_time": 1614759243,
            "start_time": 1614759180,
            "end_time": 1614845639,
            "limited_discount_sku_list": [
                {
                    "sku_id": 8297366,
                    "sale_price": 1500,
                    "sale_stock": 100
                }
            ]
        }
    ]
}

# Request Parameter Dxplaination

parameter type Is it necessary to fill out Introductions
status number no The state of the rush to pull

# Return parameter specification

parameter type Introductions
Errcode number Error code
limited_discount_list[].task_id number Mission ID
limited_discount_list[].product_id number Buy Product ID
limited_discount_list[].status number Rush Task Status
limited_discount_list[].create_time number Time of Creation Second time stamp
limited_discount_list[].start_time number Start Time of Rush Task Second time stamp
limited_discount_list[].end_time number End of rush hour Second time stamp
limited_discount_list[].limited_discount_sku_list[].sku_id number Snap up tasks under different sku_id
limited_discount_list[].limited_discount_sku_list[].sale_price number The sku_Snap up price for id
limited_discount_list[].limited_discount_sku_list[].sale_stock number The sku_Number of snaps at the time of setting id

# Return code

Return code Type of error
-1 System exception
-2 Token is too long
9401020 Wrong parameter
9401021 Call the api without permission