有赞新零售社区

发帖
API使用问题»api新增商品接口报系统异常

[API调用-商品/交易] api新增商品接口报系统异常

2023-01-31 1053 浏览 1 评论 | 只看楼主 [打印]  关闭
接口返回报这个 {"gw_err_resp":{"trace_id":"yz7-0a350a44-1675145550665-665496","err_msg":"系统异常","err_code":5001}}
是什么问题?
用手机打开
收藏 ··· 回复
    您好,是因为外层的item_channel_params这个参数没有传
    • 2023-02-01
      嗯现在出现了另一个问题,类型参数是没错,但接口报不支持的商品类型,是什么问题.
    • 2023-02-01
      跟这个参数应该没有关系,看我另外发的新问题,报请求参数非法 不支持的商品类型,但是看商品类型参数传的都是没有问题的。具体传参和响应,看我刚发的这个帖子:https://bbs.youzan.com/forum.php?mod=viewthread&tid=690099 , 用文档上给的示例请求也是报同样的这个错误
    • 回复 2023-02-01
      {"param":"{\"item_no\":\"10007\",\"item_weight\":\"1500\",\"barcode\":\"10002\",\"desc\":\"\\u963f\\u7c73\\u53e4\",\"item_type\":0,\"image_ids\":[1],\"summary\":\"\\u963f\\u7c73\\u53e4\",\"item_delivery_param\":{\"postage\":2000,\"delivery_template_id\":0,\"delivery_setting\":{\"express\":true}},\"item_price_param\":{\"origin\":157.5,\"cost_price\":6000,\"price\":10500},\"item_channel_params\":{\"item_price_param\":{\"origin\":157.5,\"cost_price\":6000,\"price\":10500},\"sell_point\":\"\\u963f\\u7c73\\u53e4\",\"title\":\"\\u963f\\u7c73\\u53e4\",\"channel\":0,\"measurement\":0,\"summary\":\"\\u963f\\u7c73\\u53e4\"},\"title\":\"\\u963f\\u7c73\\u53e4\",\"is_display\":1,\"quantity\":5,\"hide_stock\":1,\"specifications\":\"\",\"sell_point\":\"\\u963f\\u7c73\\u53e4\",\"sku_picture_display_config\":false}"}
    • 回复 2023-02-01
      图片地址:https://s1.ax1x.com/2023/02/01/pSBm4Cq.png https://s1.ax1x.com/2023/02/01/pSBnkad.png
    • 冬日暖阳 回复 2023-02-01
      您好,那这边就先给您关闭了吗,后续在https://bbs.youzan.com/forum.php?mod=viewthread&tid=690099这个帖子中回复

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

    本版积分规则

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

    • 评分

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

    复制成功