收藏
回答

商品的类目长度不对(预期是有三级类目)

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 视频号小店 微信iOS客户端 8.0.45 2.2

https://developers.weixin.qq.com/doc/channels/API/product/add.htmlhttps://developers.weixin.qq.com/doc/channels/API/basics/commErrCode.html


请求参数JSON: {"data":{"attrs":[{"attr_key":"门店自提","attr_value":"自提"}],"cats":[{"cat_id":"0"},{"cat_id":"377078"},{"cat_id":"527035"}],"deliver_method":1,"desc_info":[{"desc":["ssss"],"imgs":img1.baidu.com/it/u=2333988075,2156966997\u0026fm=253\u0026fmt=auto\u0026app=138\u0026f=JPEG?w=320\u0026h=240","https://img1.baidu.com/it/u=2333988075,2156966997\u0026fm=253\u0026fmt=auto\u0026app=138\u0026f=JPEG?w=320\u0026h=240","https://img1.baidu.com/it/u=2333988075,2156966997\u0026fm=253\u0026fmt=auto\u0026app=138\u0026f=JPEG?w=320\u0026h=240"]}],"head_imgs":["https://img1.baidu.com/it/u=2333988075,2156966997\u0026fm=253\u0026fmt=auto\u0026app=138\u0026f=JPEG?w=320\u0026h=240","https://img1.baidu.com/it/u=2333988075,2156966997\u0026fm=253\u0026fmt=auto\u0026app=138\u0026f=JPEG?w=320\u0026h=240","https://img1.baidu.com/it/u=2333988075,2156966997\u0026fm=253\u0026fmt=auto\u0026app=138\u0026f=JPEG?w=320\u0026h=240"],"out_product_id":"kdj00019821","skus":[{"out_sku_id":"支持门/消费","sale_price":9,"sku_attrs":[{"attr_key":"炸鸡","attr_value":"炸鸡腿"}],"sku_code":"99","stock_num":9}],"sub_title":"肯德基美食兑换券","title":"肯德基炸鸡腿兑换券"}}

添加商品失败原因 错误:商品的类目长度不对(预期是有三级类目) rid: 65b2b467-30ef2a86-55b45af9, response: 

回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容