# 删除商品

# 接口调用请求说明

http请求方式:POST
https://api.weixin.qq.com/product/spu/del?access_token=xxxxxxxxx

# 请求参数示例

{
    "product_id": 324545,
    "out_product_id": 51514515
}

# 回包示例

{
    "errcode": 0,
    "errmsg":"ok"
}

# 请求参数说明

参数 类型 是否必填 说明
product_id number 小商店内部商品ID,与out_product_id二选一
out_product_id string 商家自定义商品ID,与product_id二选一

# 回包参数说明

参数 类型 说明
errcode number 错误码
errmsg string 错误信息

# 返回码

返回码 错误类型
-1 系统异常
-2 token太长
9401020 参数有误
9401021 无权限调用该api
9401002 SPU不存在
9401001 SPU已经存在
9401023 SPU不允许编辑