# Delete merchandise
# Dxplaination of Interface Call Request
Http request method: POST
https://api.weixin.qq.com/product/spu /del?access_token=xxxxxxxxx
# Example of request parameters
{
"product_id": 324545,
"out_product_id": 51514515
}
# Examples of back-up
{
"errcode": 0,
"errmsg":"ok"
}
# Dxplaination of request parameters
parameter | type | Is it compulsory? | Introductions |
---|---|---|---|
product_id | number | no | Small shop internal product ID, and out _product_ID Two Choices |
out_product_id | string | no | Merchant custom product ID, and product_ID Two Choices |
# Dxplaination of callback parameters
parameter | type | Introductions |
---|---|---|
Error code | number | Error code |
errmsg | string | Error message |
# Return code
Return code | Error Type |
---|---|
-1 | System exceptions |
-2 | Token too long |
9401020 | The parameter is incorrect. |
9401021 | Call the api without permission |
9401002 | SPU does not exist |
9401001 | SPU already exists |
9401023 | SPU does not allow editing |