有赞新零售社区

发帖
API使用问题»关于会员消费次数出现负数的问题

[API调用-商品/交易] 关于会员消费次数出现负数的问题

4a94c6a73f1a 2023-09-07 473 浏览 1 评论 | 只看楼主 [打印]
该订单在9.4号进行退款,
调用youzan.trade.refund.seller.return.create.1.0.0
商家主动退货退款 该接口,接口文档地址:https://doc.youzanyun.com/detail/API/0/2876
四件商品是分四次退的
第一次:
传参:
{"aPIParams":{"extension":{"create_time":1693833865000,"refund_success_time":1693833927000},"full_refund_tag":false,"out_biz_no":"RE2309040005433-20762790","refund_fee":46413,"refund_items":[{"num":1,"oid":2960592361411838132,"refund_fee":46413}],"request_id":"169383394816520762790","tid":"E20230830200440085400007"},"gateway":"https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.trade.refund.seller.return.create","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanTradeRefundSellerReturnCreateParams","version":"1.0.0"}
返回数据:
{"code":"200","data":{"is_success":true,"refund_id":"202309042125473952210854"},"message":"successful","success":true,"trace_id":"zan-open-sdk-42077d5b-adf8-481b-a5db-ad97a24fa279"}
第二次:
传参:
{"aPIParams":{"extension":{"create_time":1693833865000,"refund_success_time":1693833927000},"full_refund_tag":false,"out_biz_no":"RE2309040005433-20762791","refund_fee":122498,"refund_items":[{"num":1,"oid":2960592361411838130,"refund_fee":122498}],"request_id":"169383394836420762791","tid":"E20230830200440085400007"},"gateway":"https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.trade.refund.seller.return.create","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanTradeRefundSellerReturnCreateParams","version":"1.0.0"}
返回数据:
{"code":"200","data":{"is_success":true,"refund_id":"202309042125483952260854"},"message":"successful","success":true,"trace_id":"zan-open-sdk-aff0fb5a-337b-489b-ad99-1e5678730ae8"}
第三次:
传参:
{"aPIParams":{"extension":{"create_time":1693833865000,"refund_success_time":1693833927000},"full_refund_tag":false,"out_biz_no":"RE2309040005433-20762792","refund_fee":25489,"refund_items":[{"num":1,"oid":2960592361411838131,"refund_fee":25489}],"request_id":"169383394856220762792","tid":"E20230830200440085400007"},"gateway":"https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.trade.refund.seller.return.create","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanTradeRefundSellerReturnCreateParams","version":"1.0.0"}
返回数据:
{"code":"200","data":{"is_success":true,"refund_id":"202309042125470020450854"},"message":"successful","success":true,"trace_id":"zan-open-sdk-73599492-7528-4a57-ae3d-4542847d922d"}
第四次:
传参:
{"aPIParams":{"extension":{"create_time":1693833865000,"refund_success_time":1693833927000},"full_refund_tag":false,"out_biz_no":"RE2309040005433-20762793","refund_fee":0,"refund_items":[{"num":1,"oid":2960592361411838133,"refund_fee":0}],"request_id":"169383394890520762793","tid":"E20230830200440085400007"},"gateway":"https://open.youzanyun.com","headers":{},"httpMethod":"POST","name":"youzan.trade.refund.seller.return.create","oAuthType":"TOKEN","paramModelClass":"com.youzan.cloud.open.sdk.gen.v1_0_0.model.YouzanTradeRefundSellerReturnCreateParams","version":"1.0.0"}
返回数据:
{"code":"200","data":{"is_success":true,"refund_id":"202309042125483952360854"},"message":"successful","success":true,"trace_id":"zan-open-sdk-aebf48ca-4617-4624-a862-babdad65a429"}

并没有产生多的退款记录,也都是非全额退款的请求数据,为何会出现消费次数-1的情况?





用手机打开
收藏 ··· 回复
    千寻   有赞云团队   2023-09-07 | 只看该作者
    您好,您的这个问题非有赞云问题,页面出现-1展示逻辑可以咨询我们在线客服确认,在线客服咨询链接:https://www.youzan.com/v4/dashboard#/ 访问店铺后台在右上角选择“在线客服”咨询或电话联系:0571-89988848

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

      本版积分规则

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

      • 评分

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

      复制成功