Add a snap-up task
NOTE: Each item(SPU)There can only be one buying assignment at the same time.
If there is a current snagging task that is not finished, you are not allowed to create a second snagging task whether or not it began
You can modify the status of a snagging task in advance to the end and create a new task.
Each time you create a snap task, you must populate the SPU under All SKU Rush Info
Dxplaination of Interface Call Request
Example of request parameters
Examples of back-up
Dxplaination of request parameters
parameter | type | Is it compulsory? | Introductions |
product_id | number | yes | Product ID participating in the rush |
start_Time | number | yes | The start time of the buying task Second-level time stamp |
end_Time | number | yes | The end time of the buying mission Second-level time stamp Must be greater than the previous time and start_Time |
limited_discount_sku _list[].sku _id | number | yes | Participating in the purchase of goods under the ID Information on commodities of different specifications |
limited_discount_sku _list[].sale_price | number | yes | Snap Up Prices for SKU Must be less than the original price |
limited_discount_sku _list[].sale_stock | number | yes | Stocks of goods participating in the buying spree Must be less than equal to existing stock |
Dxplaination of callback parameters
parameter | type | Introductions |
Error code | number | Error code |
task_id | number | Snap Up Task ID Return once creation has been successful |
Return code
Return code | Error Type |
-1 | System exceptions |
-2 | Token too long |
9401020 | The parameter is incorrect. |
9401021 | Call the api without permission |
110000 | This product_ID There is already a rush job |
110003 | Rushing to set up time is illegal. |