调用接口:youzan.item.create(提示参数类型不匹配,入参参考接口文档描述传参)
调用新增商品提示:{“gw_err_resp”:{“err_code”:4301,“err_msg”:“参数类型不匹配”}}
提交:{“refund_param”:{“isSupportVirtualRefund”:0,“refundType”:0,“periodMillSeconds”:0},“post_fee”:0,“buy_quota”:0,“item_type”:0,“title”:“0031–0021”,“item_no”:“0031”,“price”:10000,“sku_images”:[{“v”:“绿色”,“img_url”:“http://img.yzcdn.cn/upload_files/2019/08/08/FqWHanK0e9Fm1nDRgJ2I9uqAArdq.jpg”}],“sku_weight”:“件”,“quantity”:100,“item_sku_extends”:[{“cost_price”:1000,“s1”:1217,“s2”:1367}],“sku_stocks”:[{“price”:1000,“quantity”:100,“item_no”:“001”,“skus”:[{“k”:“颜色”,“kid”:1,“v”:“绿色”,“vid”:1217},{“k”:“尺寸”,“kid”:2,“v”:“L”,“vid”:1367}]}],“desc”:“0031–0021”,“cid”:8000014,“is_display”:0}
麻烦大佬解答疑惑
可参考商品新增说明文档:https://developers.youzanyun.com/article/1560404411445