Skip to content

创建会员卡模板

通过此接口可以创建一张会员卡模板,创建成功将获得会员卡模板card_id 官方文档

js
wxpay
.
v3
.
marketing
.
membercardOpen
.
cards
.
post
({
appid
,
logo_url
,
brand
,
title
,
background_picture_url
,
description
,
service_phone
,
code_type
,
total_quantity
,
date_information
,
code_mode
,
need_display_level
,
init_level
,
out_request_no
,
balance_information
,
user_information_form
,
additional_statement
,
}) .
then
(
({
data
: {
card_id
,
create_time
,
update_time
,
remain_quantity
,
status
,
brand
,
appid
,
logo_url
,
title
,
background_picture_url
,
description
,
service_phone
,
code_type
,
total_quantity
,
date_information
,
code_mode
,
need_display_level
,
init_level
,
out_request_no
,
balance_information
,
user_information_form
,
additional_statement
,
}, }) => ({
card_id
,
create_time
,
update_time
,
remain_quantity
,
status
,
brand
,
appid
,
logo_url
,
title
,
background_picture_url
,
description
,
service_phone
,
code_type
,
total_quantity
,
date_information
,
code_mode
,
need_display_level
,
init_level
,
out_request_no
,
balance_information
,
user_information_form
,
additional_statement
,
}) )

查询会员卡模板列表

通过此接口可查询指定某品牌的所有会员卡模板列表 官方文档

js
wxpay
.
v3
.
marketing
.
membercardOpen
.
cards
.
get
({
params
,
}) .
then
(
({
data
: {
total_count
,
limit
,
offset
,
data
,
}, }) => ({
total_count
,
limit
,
offset
,
data
,
}) )

Released under the MIT License. (SITEMAP)