有赞新零售社区

发帖
API使用问题»调用新增商品时接口报错

[API调用-商品/交易] 调用新增商品时接口报错

毛毛 2022-04-30 1696 浏览 2 评论 | 只看楼主 [打印]
该接口item_type已经传0实物商品,调用接口报错。帮忙看下哪里弄错

https://open.youzanyun.com/api/youzan.item.add/1.0.0


log  2022-04-30 12:17:51
正在上传线下商品新增新增:4421F24,开始请求

log  2022-04-30 12:17:51
url:https://open.youzanyun.com/api/y ... a14c0e680fc32ada875请求内容:{"hide_stock":"0","is_display":"0","image_ids":"1833557277","item_no":"4421F24","price":"39900","origin_price":"39900","desc":"女针织带帽卫衣","title":"女针织带帽卫衣","sku_list":[{"sku_no":"4421F24310","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24310"},{"sku_no":"4421F24315","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24315"},{"sku_no":"4421F24215","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24215"},{"sku_no":"4421F24211","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24211"},{"sku_no":"4421F24212","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24212"},{"sku_no":"4421F24214","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24214"},{"sku_no":"4421F24216","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24216"},{"sku_no":"4421F24217","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24217"},{"sku_no":"4421F24218","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24218"},{"sku_no":"4421F24219","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24219"},{"sku_no":"4421F24311","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24311"},{"sku_no":"4421F24312","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"}, {"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24312"},{"sku_no":"4421F24314","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24314"},{"sku_no":"4421F24316","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24316"},{"sku_no":"4421F24317","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24317"},{"sku_no":"4421F24319","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24319"},{"sku_no":"4421F24313","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24313"},{"sku_no":"4421F24213","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24213"},{"sku_no":"4421F24210","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24210"},{"sku_no":"4421F24318","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24318"},{"sku_no":"4421F24113","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24113"},{"sku_no":"4421F24119","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24119"},{"sku_no":"4421F24116","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24116"},{"sku_no":"4421F24117","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24117"},{"sku_no":"4421F24114","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24114"},{"sku_no":"4421F24115","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24115"},{"sku_no":"4421F24118","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24118"},{"sku_no":"4421F24110","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24110"},{"sku_no":"4421F24111","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24111"},{"sku_no":"4421F24112","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24112"}],"item_type":"0","quantity":"0"}请求方式:application/json;charset=utf-8操时时间:5

log  2022-04-30 12:17:51
正在上传线下商品新增新增:4421F24,从服务器成功返回结果
log  2022-04-30 12:17:51



正在上传线下商品新增新增:4421F24,结果:{"trace_id":"yz7-0a34f815-1651292271516-282346","code":301000004,"success":false,"message":"请求参数非法 不支持的商品类型,该接口仅支持实物商品、虚拟商品、电子卡券、茶饮烘焙"}
用手机打开
收藏 ··· 回复
       有赞云团队   2022-05-05 | 只看该作者

    您好,https://open.youzanyun.com/api/youzan.item.add/1.0.0接口入参的最外层要传param字段。可以参考接口文档入参。
    • 毛毛 2022-05-05
      param字段已经添加,但是还是报错。帮忙看下是那里问题client_id:974085a2a1d17e3943     grant_id:44693599


      log  2022-05-05 14:22:00
      url:https://open.youzanyun.com/api/youzan.item.add/1.0.0?access_token=f954fb9d1cc636f7bda75f6fb39665e请求内容:{"param":{"hide_stock":"0","is_display":"0","image_ids":"1833557277","item_no":"4421F24","price":"39900","origin_price":"39900","desc":"女针织带帽卫衣","title":"女针织带帽卫衣","sku_list":[{"sku_no":"4421F24310","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24310"},{"sku_no":"4421F24315","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24315"},{"sku_no":"4421F24215","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24215"},{"sku_no":"4421F24211","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24211"},{"sku_no":"4421F24212","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24212"},{"sku_no":"4421F24214","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24214"},{"sku_no":"4421F24216","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24216"},{"sku_no":"4421F24217","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24217"},{"sku_no":"4421F24218","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24218"},{"sku_no":"4421F24219","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24219"},{"sku_no":"4421F24311","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24311"},{"sku_no":"4421F24312","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24312"},{"sku_no":"4421F24314","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24314"},{"sku_no":"4421F24316","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24316"},{"sku_no":"4421F24317","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24317"},{"sku_no":"4421F24319","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24319"},{"sku_no":"4421F24313","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24313"},{"sku_no":"4421F24213","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24213"},{"sku_no":"4421F24210","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24210"},{"sku_no":"4421F24318","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24318"},{"sku_no":"4421F24113","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24113"},{"sku_no":"4421F24119","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24119"},{"sku_no":"4421F24116","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24116"},{"sku_no":"4421F24117","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24117"},{"sku_no":"4421F24114","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24114"},{"sku_no":"4421F24115","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24115"},{"sku_no":"4421F24118","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24118"},{"sku_no":"4421F24110","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24110"},{"sku_no":"4421F24111","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24111"},{"sku_no":"4421F24112","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24112"}],"item_type":"0","quantity":"0"}}请求方式:application/json;charset=utf-8操时时间:5



      log  2022-05-05 14:22:00

      正在上传线下商品新增新增:4421F24,从服务器成功返回结果



      log  2022-05-05 14:22:00

      正在上传线下商品新增新增:4421F24,结果:{"gw_err_resp":{"trace_id":"yz7-0ad26901-1651731720809-685741","err_msg":"系统异常","err_code":5001}}
    • 回复 毛毛 2022-05-06
      您好,image_ids字段传参类型不正确,文档中的image_ids类型是:java.util.List<java.lang.Long>,您传的是string类型。建议您参考接口文档要求传参。
    • 毛毛 回复 2022-05-06
      处理完image_ids类型,又报SKU格式错误,看下正确调用案例是什么样子

      log  2022-05-06 15:20:36

      正在上传线下商品新增新增:4421F24,开始请求


      log  2022-05-06 15:20:36

      url:https://open.youzanyun.com/api/youzan.item.add/1.0.0?access_token=f954fb9d1cc636f7bda75f6fb39665e请求内容:{"param":{"hide_stock":"0","is_display":"0","image_ids":[1833557277],"item_no":"4421F24","item_price_param":{"price":"39900","origin":"399"},"price":"39900","origin_price":"39900","desc":"女针织带帽卫衣","title":"女针织带帽卫衣","sku_list":[{"sku_no":"4421F24310","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24310"},{"sku_no":"4421F24315","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24315"},{"sku_no":"4421F24215","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24215"},{"sku_no":"4421F24211","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24211"},{"sku_no":"4421F24212","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24212"},{"sku_no":"4421F24214","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24214"},{"sku_no":"4421F24216","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24216"},{"sku_no":"4421F24217","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24217"},{"sku_no":"4421F24218","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24218"},{"sku_no":"4421F24219","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24219"},{"sku_no":"4421F24311","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24311"},{"sku_no":"4421F24312","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24312"},{"sku_no":"4421F24314","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24314"},{"sku_no":"4421F24316","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24316"},{"sku_no":"4421F24317","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24317"},{"sku_no":"4421F24319","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24319"},{"sku_no":"4421F24313","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24313"},{"sku_no":"4421F24213","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24213"},{"sku_no":"4421F24210","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5267","prop_value_name":"烟紫粉"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24210"},{"sku_no":"4421F24318","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"5156","prop_value_name":"黑色"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24318"},{"sku_no":"4421F24113","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"690","prop_value_name":"L"}],"barcode":"4421F24113"},{"sku_no":"4421F24119","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"682","prop_value_name":"6XL"}],"barcode":"4421F24119"},{"sku_no":"4421F24116","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"687","prop_value_name":"3XL"}],"barcode":"4421F24116"},{"sku_no":"4421F24117","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"685","prop_value_name":"4XL"}],"barcode":"4421F24117"},{"sku_no":"4421F24114","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"689","prop_value_name":"XL"}],"barcode":"4421F24114"},{"sku_no":"4421F24115","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"688","prop_value_name":"2XL"}],"barcode":"4421F24115"},{"sku_no":"4421F24118","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"683","prop_value_name":"5XL"}],"barcode":"4421F24118"},{"sku_no":"4421F24110","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"686","prop_value_name":"XS"}],"barcode":"4421F24110"},{"sku_no":"4421F24111","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"684","prop_value_name":"S"}],"barcode":"4421F24111"},{"sku_no":"4421F24112","sku_props":[{"prop_name":"颜色","prop_name_id":"1","prop_value_id":"1","prop_value_name":"光学白"},{"prop_name":"尺码","prop_name_id":"2","prop_value_id":"691","prop_value_name":"M"}],"barcode":"4421F24112"}],"item_type":"0","quantity":"0"}}请求方式:application/json;charset=utf-8操时时间:5



      log  2022-05-06 15:20:37

      正在上传线下商品新增新增:4421F24,从服务器成功返回结果



      log  2022-05-06 15:20:37

      正在上传线下商品新增新增:4421F24,结果:{"trace_id":"yz7-0ad2690a-1651821637831-31814","code":301003001,"success":false,"message":"SKU格式错误"}

    • 回复 毛毛 2022-05-07
      您好,正在和相关同学排查中,有进展会尽快同步给您。

       有赞云团队   2022-05-08 | 只看该作者
    您好,1. sku_list. price 这个参数是必填的。
    2. item_delivery_param字段也是要入参的。

      1跳至
      您需要登录后才可以回帖 登录 | 立即注册

      本版积分规则

      复制链接
      新浪微博
      QQ空间
      微信扫码
      • 回复

      • 评分

      客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

      复制成功