收藏
回答

创建会员卡报错40071,invalid card type是什么情况呢?

appid: wx6a0ad47921cb488b

时间:2021-12-09 10:46:58

接口:创建会员卡:https://api.weixin.qq.com/card/create

返回错误信息:{"errcode":40071,"errmsg":"invalid card type hint: [8HRNxa0018r280]"}


参数(****为敏感信息已隐藏):

{
	"card": {
		"card_type": "MEMBER_CARD",
		"member_card": {
			"activate_app_brand_pass": "",
			"activate_app_brand_user_name": "",
			"activate_url": "",
			"advanced_info": {
				"business_service": [],
				"text_image_list": [{
					"image_url": "",
					"text": ""
				}],
				"time_limit": []
			},
			"auto_activate": false,
			"background_pic_url": "",
			"balance_app_brand_pass": "",
			"balance_app_brand_user_name": "",
			"balance_rules": "",
			"balance_url": "",
			"base_info": {
				"bind_openid": false,
				"brand_name": "新疆整形美容医院",
				"can_give_friend": false,
				"can_share": false,
				"center_app_brand_pass": "",
				"center_app_brand_user_name": "",
				"center_sub_title": "",
				"center_title": "",
				"center_url": "",
				"code_type": "CODE_TYPE_QRCODE",
				"color": "Color010",
				"custom_url": "",
				"custom_url_name": "",
				"custom_url_sub_title": "",
				"date_info": {
					"begin_timestamp": 0,
					"end_timestamp": 0,
					"type": "DATE_TYPE_PERMANENT"
				},
				"description": "会员卡,内容稍后完善",
				"get_limit": 1,
				"is_pay_and_qrcode": false,
				"logo_url": "http://mmbiz.qpic.cn/mmbiz_png/1IFXdWibPQTEXjpGtJNybUSZO8ibopexhOU7MmiaAWzFB2ybmGmFTsZ3d4XgO3ujqtmQ8ibXCBIPcET4LMFlCOw3dQ/0?wx_fmt=png",
				"need_push_on_view": true,
				"notice": "",
				"pay_info": {
					"swipe_card": {
						"is_swipe_card": true
					}
				},
				"promotion_url": "",
				"promotion_url_name": "",
				"promotion_url_sub_title": "",
				"service_phone": "12345678",
				"sku": {
					"quantity": 100000000
				},
				"title": "新疆整形会员卡",
				"use_all_locations": false,
				"use_custom_code": false,
				"use_dynamic_code": false
			},
			"bonus_app_brand_pass": "/pages/user/point/detail",
			"bonus_app_brand_user_name": "gh_8917c2df6ede@app",
			"bonus_cleared": "",
			"bonus_rule": {},
			"bonus_rules": "",
			"bonus_url": "https://****",
			"custom_cell1": {
				"app_brand_pass": "",
				"app_brand_user_name": "",
				"name": "",
				"tips": "",
				"url": ""
			},
			"custom_field1": {
				"app_brand_pass": "****",
				"app_brand_user_name": "gh_8917c2df6ede@app",
				"name": "等级",
				"name_type": "FIELD_NAME_TYPE_LEVEL",
				"url": "https://****"
			},
			"custom_field2": {
				"app_brand_pass": "/pages/market/coupon/index",
				"app_brand_user_name": "gh_8917c2df6ede@app",
				"name": "优惠券",
				"name_type": "FIELD_NAME_TYPE_COUPON",
				"url": "https://****"
			},
			"prerogative": "新疆整形会员中心",
			"supply_balance": false,
			"supply_bonus": true,
			"wx_activate": true,
			"wx_activate_after_submit": true,
			"wx_activate_after_submit_url": "https://****"
		}
	}
}
最后一次编辑于  2021-12-10
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容