有赞新零售社区

发帖
API使用问题»有赞CRM外部订单导入提示未知异常

[API调用-其它] 有赞CRM外部订单导入提示未知异常

a邱天 2023-04-01 1261 浏览 9 评论 | 只看楼主 [打印]  关闭
以下是请求的内容及返回的结果:

>>2023-04-01 11:28:19|https://open.youzanyun.com/api/y ... 4aa946a5ed965f37fb3

>>2023-04-01 11:28:19|{"main_info":{"open_source":{"trade_channel":{"common_channel":"POS"}},"order_status":"SUCCESS","biz_identity":"GENERAL_EXTERNAL","create_time":"2023-03-21 21:02:56","out_biz_no":"230321000014_101000022"},"order_price":{"total_price":11200,"origin_price":11200,"current_price":11200},"seller":{"kdt_id":43055057,"out_kdt_id":"7A745A5F-F8CA-42EF-A193-C1EAD7B846BC"},"receiver":{"logistics_type":"NONE"},"trade_items":[{"goods_info":{"title":"蓓慕水莲花净肤焕白化妆水","item_no":"160104","sku_no":"4717535160104"},"current_price":11200,"origin_price":11200,"num":1}]}

>>2023-04-01 11:28:20|{"trace_id":"yz7-0a350a45-1680319700301-612788","code":107100001,"success":false,"message":"未知异常"}

已经有有赞crm系统了,现在打算把另一套erp系统的订单通过接口同步到有赞CRM,现在报错了不知道是哪里没弄好?


用手机打开
收藏 ··· 回复
    千寻   有赞云团队   2023-04-03 | 只看该作者
    您好,该报错是查不到此订单信息,核实下订单单号
    • a邱天 2023-04-03
      我是要通过这个接口把其他线下系统的订单创建进去,怎么会判断订单单号找不到?是否我传的参数不对?

    千寻   有赞云团队   2023-04-03 | 只看该作者
    您好,建议核实下外部订单单号信息是否正确
    • a邱天 2023-04-04
      您可能没明白我的意思,我这个订单是从非有赞系统里来的,所以这个外部订单的单号您那边是如何判断的?因为按理说我什么订单号都可以才对呀?

    千寻   有赞云团队   2023-04-04 | 只看该作者
    outBizNo需要唯一,当前值:230321000014_101000022
    • a邱天 2023-04-04
      >>2023-04-04 10:14:00|https://open.youzanyun.com/api/youzan.trade.order.out.create/3.0.0?access_token=c717706ace654aa946a5ed965f37fb3
      >>2023-04-04 10:14:00|{"main_info":{"open_source":{"trade_channel":{"common_channel":"POS"}},"order_status":"SUCCESS","biz_identity":"GENERAL_EXTERNAL","create_time":"2023-03-20 16:25:59","out_biz_no":"erp230320000014_101000013"},"order_price":{"total_price":0,"origin_price":0,"current_price":0},"seller":{"kdt_id":43055057,"out_kdt_id":"7A745A5F-F8CA-42EF-A193-C1EAD7B846BC"},"receiver":{"logistics_type":"NONE"},"trade_items":[{"goods_info":{"title":"***ZP-新艺术彩粉腮红-落粉胭脂","item_no":"02120023","sku_no":"6970828892269"},"current_price":0,"origin_price":0,"num":1}]}

      >>2023-04-04 10:14:00|{"trace_id":"yz7-0a350a40-1680574440487-327476","code":107100001,"success":false,"message":"当前场景不支持"}


      我改了外部单号后,提示我当前场景不支持,是我哪里没设置对吗?

    千寻   有赞云团队   2023-04-04 | 只看该作者
    您好,outBizNo只允许 字母 + 数字,参数校验返回的都是统一错误信息,后续会排期优化的,很抱歉给您带来的不便!
    • a邱天 2023-04-06
      >>2023-04-06 10:11:06|https://open.youzanyun.com/api/youzan.trade.order.out.create/3.0.0?access_token=a5352f958dd1547d43bd9345b7eb726

      >>2023-04-06 10:11:06|{"main_info":{"open_source":{"trade_channel":{"common_channel":"POS"}},"order_status":"SUCCESS","biz_identity":"GENERAL_EXTERNAL","create_time":"2023-03-20 16:25:59","out_biz_no":"230320000014101000013"},"order_price":{"total_price":0,"origin_price":0,"current_price":0},"seller":{"kdt_id":43055057,"out_kdt_id":"7A745A5F-F8CA-42EF-A193-C1EAD7B846BC"},"receiver":{"logistics_type":"NONE"},"trade_items":[{"goods_info":{"title":"***ZP-新艺术彩粉腮红-落粉胭脂","item_no":"02120023","sku_no":"6970828892269"},"current_price":0,"origin_price":0,"num":1}]}

      >>2023-04-06 10:11:07|{"trace_id":"yz7-0ae85b17-1680747067279-55278","code":107100001,"success":false,"message":"当前场景不支持"}


      我这边把外部编号改了,但是还是报 当前场景不支持,是否还有参数不对?

    千寻   有赞云团队   2023-04-06 | 只看该作者
    您好,outBizNo目前只允许 字母 + 数字,当前值是230320000014101000013
    • a邱天 2023-04-07
      >>2023-04-06 17:33:22|https://open.youzanyun.com/api/youzan.trade.order.out.create/3.0.0?access_token=a5352f958dd1547d43bd9345b7eb726

      >>2023-04-06 17:33:22|{"main_info":{"open_source":{"trade_channel":{"common_channel":"POS"}},"order_status":"SUCCESS","biz_identity":"GENERAL_EXTERNAL","create_time":"2023-03-20 16:25:59","out_biz_no":"mei230320000014101000013"},"order_price":{"total_price":0,"origin_price":0,"current_price":0},"seller":{"kdt_id":43055057,"out_kdt_id":"7A745A5F-F8CA-42EF-A193-C1EAD7B846BC"},"receiver":{"logistics_type":"NONE"},"trade_items":[{"goods_info":{"title":"***ZP-新艺术彩粉腮红-落粉胭脂","item_no":"02120023","sku_no":"6970828892269"},"current_price":0,"origin_price":0,"num":1}]}

      >>2023-04-06 17:33:24|{"trace_id":"yz7-0ae85be6-1680773604398-286446","code":107100001,"success":false,"message":"当前场景不支持"}

      我加了个字母的前缀也是一样的提示,感觉不是外部单号的问题?

    千寻   有赞云团队   2023-04-07 | 只看该作者
    您好,您的问题已经受理,会尽快核实并与您同步。

      千寻   有赞云团队   2023-04-07 | 只看该作者
      您好,排查结论:外部下单为创建订单、并将订单推进到已支付状态。目前异常的原因为推进到已支付失败。
      支付失败的原因为,该笔订单类型为普通类型商品(即普通实物),通过无需物流方式,不支持下单,需要选择快递方式。
      • a邱天 2023-04-07
        我是想单纯把现在用的erp里的历史订单同步过来,没有物流的,因为那些订单是会员来门店自提的。这种情况我应该用哪个接口才行呢?

      千寻   有赞云团队   2023-04-08 | 只看该作者
      您好,很抱歉,目前暂时不支持该能力

        千寻   有赞云团队   2023-04-13 | 只看该作者
        您好,由于工单长时间未收到反馈,暂时置为完结状态,如果问题未解决,可以继续追问,如果有新的问题咨询,可以重新提交工单,感谢您的理解与支持。

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

          本版积分规则

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

          • 评分

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

          复制成功