# Modify the status of the Purchase Task

It is used to end a snap-up task early and can be closed regardless of whether the snap-up job is in progress or not. You can also delete the snagging task directly. Note: Not allowed to open again after the end, the state is irreversible

# Dxplaination of Interface Call Request

http请求方式:POST
https://api.weixin.qq.com/product/limiteddiscount/update_status/access_token=xxxxxxxxx

# Example of request parameters

{
    "task_id":325286,
    "status":1
}

# Examples of back-up

{
    "errcode":0
}

# Dxplaination of request parameters

参数 type Is it compulsory? Introductions
task_id number yes Snap Up Task ID
status number yes The state to be modified, 1: End 9: Delete

# Dxplaination of callback parameters

参数 type Introductions
errcode number Error code

# Return code

返回码 Error Type
-1 System exceptions
-2 Token too long
9401020 The parameter is incorrect.
9401021 Call the api without permission
110002 Modify the status setting error