收藏
回答

卡券修改接口一直报错.

接口文档:https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html

第一个问题: 修改会员卡报错.

invalid DateInfo, Make Sure OldDateInfoType==NewDateInfoType && NewBeginTime<=OldBeginTime && OldEndTime<= NewEndTime hint: [v3ha3a0252r259]错误号:40100

第二个问题: 修改代金券报47001,报错内容:

data format error hint: [168wCA0473r280] Error before ":"测试","color":"Color010","notice":"消费前请出示优惠券","description":"测试","get_limit": 1,"date_in...解析JSON/XML内容错误错误号:47001

JSON数据:

{

"card_id": "pnj8KxFrBZ7h_TjgGeqpxXRBG02w",

"cash": {

"base_info": {

"logo_url": "https://mmbiz.qpic.cn/mmbiz_png/qNlnKdFmrNNWRvpR5x76zp5cWS1JTDuGiaZMxjhfhOXIB8BXblyE78rWGBic0VVbzxjdEecMdHLVLDkxZqd9GpOg/0?wx_fmt=png",

"code_type": "CODE_TYPE_QRCODE",

"title": "满300减50",

"sub_title": "测试",

"color": "Color010",

"notice": "消费前请出示优惠券",

"description": "测试",

"get_limit": 1,

"date_info": {

"type": "DATE_TYPE_FIX_TERM",

"fixed_term": 180,

"fixed_begin_term": 0

},

"service_phone": "0713-8388797",

"use_custom_code": false,

"use_all_locations": true,

"location_id_list": [],

"can_give_friend": true,

"can_share": true

},

"advanced_info": {

"use_condition": {

"can_use_with_other_discount": false

},

"business_service": ["BIZ_SERVICE_FREE_WIFI", "BIZ_SERVICE_FREE_PARK"],

"share_friends": false

},

"least_cost": 30000,

"reduce_cost": 500

}

}


最后一次编辑于  11-28
回答关注问题邀请回答
收藏

2 个回答

  • 微信支付技术助手1
    微信支付技术助手1
    11-29

    添加一下WePayTS8,备注添加来源

    11-29
    赞同
    回复 1
    • 首佳软件lee
      首佳软件lee
      11-29
      谢谢.马上加
      11-29
      回复
  • 首佳软件lee
    首佳软件lee
    11-28

    有没有官方技术?

    官方不断的在更新接口,但是文档一直都是旧的. 让我们只能摸黑开发,太头痛了!

    11-28
    赞同
    回复