有赞新零售社区

发帖
消息推送»【消息推送】对接微商城和对接连锁店接口字段不一样。

【消息推送】对接微商城和对接连锁店接口字段不一样。

李冬冬 2023-08-16 6682 浏览 3 评论 | 只看楼主 [打印]
应用名称:爱康药房
应用AppId:10003150
ClientId:02cdea17c8221ffbfb
相关文档地址:https://doc.youzanyun.com/detail/MSG/302
问题描述:
        接口:trade_TradeBuyerPay(买家付款(即商家待发货))
        订单id:E20230815173220051400067
        之前对接过微商城应用,在后台配置实物商品,商品编码字段,在trade_TradeBuyerPay推送的订单信息里,对应的字段是outer_item_id,
        但是现在对接的连锁店,在后台配置实物商品,商品编码字段,在trade_TradeBuyerPay推送的订单信息里,对应的字段是item_no
        这个是怎么回事,是固定的规则还是什么,文档里没有相关说明,之前问过有赞的人员,微商城和连锁店在接口字段是没区别的。
trace_id:
日志:
截图/视频:
三方系统:系统打通
店铺Id:130898839
店铺名称:爱康未来药房

用手机打开
收藏 ··· 回复
    千寻   有赞云团队   2023-08-16 | 只看该作者
    您好,查看日志使用推送的,urlencode下
    msg:%7B%22delivery_order%22%3A%5B%5D%2C%22order_promotion%22%3A%7B%22item%22%3A%5B%5D%2C%22adjust_fee%22%3A%220.00%22%2C%22order%22%3A%5B%5D%7D%2C%22refund_order%22%3A%5B%5D%2C%22full_order_info%22%3A%7B%22address_info%22%3A%7B%22self_fetch_info%22%3A%22%22%2C%22delivery_address%22%3A%22%24B6CYd4EOlo9ifxwNjYcpYg%3D%3D%241%24%22%2C%22delivery_postal_code%22%3A%22%22%2C%22receiver_name%22%3A%22%242mq%2FO3IQaWCVr9bCa4iHIA%3D%3D%241%24%22%2C%22delivery_province%22%3A%22%E5%8C%97%E4%BA%AC%E5%B8%82%22%2C%22delivery_city%22%3A%22%E5%8C%97%E4%BA%AC%E5%B8%82%22%2C%22address_extra%22%3A%22%7B%5C%22areaCode%5C%22%3A%5C%22110105%5C%22%2C%5C%22lon%5C%22%3A116.6076784002304%2C%5C%22lat%5C%22%3A39.95446366710027%7D%22%2C%22delivery_district%22%3A%22%E6%9C%9D%E9%98%B3%E5%8C%BA%22%2C%22receiver_tel%22%3A%22%24EloHrsFEfAnL9cnroSX2SA%3D%3D%241%24%22%7D%2C%22remark_info%22%3A%7B%22buyer_message%22%3A%22%22%7D%2C%22pay_info%22%3A%7B%22outer_transactions%22%3A%5B%224200001958202308154494864899%22%5D%2C%22post_fee%22%3A%220.00%22%2C%22total_fee%22%3A%220.10%22%2C%22payment%22%3A%220.10%22%2C%22transaction%22%3A%5B%222308151732230002190458%22%5D%7D%2C%22buyer_info%22%3A%7B%22outer_user_id%22%3A%22oLCcw5vCXuMEwwjC7PEu7zhsoQVo%22%2C%22buyer_phone%22%3A%22%24EloHrsFEfAnL9cnroSX2SA%3D%3D%241%24%22%2C%22yz_open_id%22%3A%22R9db7ELt656177636099289088%22%2C%22fans_type%22%3A1%2C%22buyer_id%22%3A8228969986%2C%22fans_nickname%22%3A%22%24fPOME0DHKFS%2FQ5kaVOLtlQ%3D%3D%241%24%22%2C%22fans_id%22%3A17168786219%7D%2C%22orders%22%3A%5B%7B%22is_cross_border%22%3A%22%22%2C%22outer_item_id%22%3A%22P230815089664008%22%2C%22discount_price%22%3A%220.10%22%2C%22item_type%22%3A0%2C%22num%22%3A1%2C%22oid%22%3A%222957789673882124497%22%2C%22goods_snapshot%22%3A%22https%3A%2F%2Fh5.youzan.com%2Fwscgoods%2Fdetail-snapshot%3Falias%3D2oqtenx25g1p3au%26pageType%3Dwsc-goods-snapshot%26kdtId%3D130898839%26orderNo%3DE20230815173220051400067%26goodsId%3D3282875811%26snapKey%3D1eab116fbd9fe919ce032c6e0c759fac%2Cc56c87a12f91d5fe6c3691c5c5a34a4e%26itemId%3D2957789673882124497%22%2C%22title%22%3A%22C14-%E6%B5%8B-%E5%AE%9E%E7%89%A9%22%2C%22fenxiao_payment%22%3A%220.00%22%2C%22item_message%22%3A%22%22%2C%22item_no%22%3A%22erp20220913%22%2C%22buyer_messages%22%3A%22%22%2C%22cross_border_trade_mode%22%3A%22%22%2C%22is_present%22%3Afalse%2C%22sub_order_no%22%3A%22%22%2C%22price%22%3A%220.10%22%2C%22fenxiao_price%22%3A%220.00%22%2C%22total_fee%22%3A%220.10%22%2C%22alias%22%3A%222oqtenx25g1p3au%22%2C%22payment%22%3A%220.10%22%2C%22item_barcode%22%3A%22P230815089664008%22%2C%22outer_sku_id%22%3A%22P230815089664008%22%2C%22goods_url%22%3A%22https%3A%2F%2Fh5.youzan.com%2Fv2%2Fshowcase%2Fgoods%3Falias%3D2oqtenx25g1p3au%22%2C%22customs_code%22%3A%22%22%2C%22item_id%22%3A3282875811%2C%22sku_properties_name%22%3A%22%5B%5D%22%2C%22sku_id%22%3A0%2C%22pic_path%22%3A%22https%3A%2F%2Fimg01.yzcdn.cn%2Fupload_files%2F2023%2F04%2F06%2FFrgHNFL10cibOPGiHAXH_AErJHY6.jpg%22%2C%22sku_no%22%3A%22%22%2C%22points_price%22%3A%220%22%2C%22sku_barcode%22%3A%22P230815089664008%22%7D%5D%2C%22source_info%22%3A%7B%22is_offline_order%22%3Afalse%2C%22book_key%22%3A%224a11b6c4-96d4-4752-b406-cd7656bbe318%22%2C%22source%22%3A%7B%22platform%22%3A%22wx%22%2C%22wx_entrance%22%3A%22direct_buy%22%7D%7D%2C%22order_info%22%3A%7B%22consign_time%22%3A%22%22%2C%22order_extra%22%3A%7B%22is_from_cart%22%3A%22false%22%2C%22is_points_order%22%3A%220%22%7D%2C%22created%22%3A%222023-08-15+17%3A32%3A21%22%2C%22status_str%22%3A%22%E5%BE%85%E5%8F%91%E8%B4%A7%22%2C%22expired_time%22%3A%222023-08-15+18%3A32%3A21%22%2C%22success_time%22%3A%22%22%2C%22type%22%3A0%2C%22confirm_time%22%3A%22%22%2C%22tid%22%3A%22E20230815173220051400067%22%2C%22pay_time%22%3A%222023-08-15+17%3A32%3A29%22%2C%22update_time%22%3A%222023-08-15+17%3A32%3A30%22%2C%22is_retail_order%22%3Atrue%2C%22team_type%22%3A7%2C%22pay_type%22%3A10%2C%22refund_state%22%3A0%2C%22close_type%22%3A0%2C%22order_tags%22%3A%7B%22is_member%22%3Atrue%2C%22is_secured_transactions%22%3Atrue%2C%22is_payed%22%3Atrue%7D%2C%22express_type%22%3A0%2C%22status%22%3A%22WAIT_SELLER_SEND_GOODS%22%7D%7D%7D
    加载更多

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

      千寻   有赞云团队   2023-08-17 | 只看该作者
      您好,很抱歉,刚刚信息回复outer_item_id是商品编码,item_no指的商品条码信息是错误。
      经核实:outer_item_id:商品编码,商家自定义编码,可用于和其他系统之间商品的外部id的标识。零售店铺类型返回的是商品的条码信息
      商品编码:item_no
      条码:P230815089664008,编码:erp20220913
      一直没有该变过

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

      本版积分规则

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

      • 评分

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

      复制成功