Skip to content

查询代金券详情

通过此接口可查询代金券信息,包括代金券的基础信息、状态。如代金券已核销,会包括代金券核销的订单信息(订单号、单品信息等)。 官方文档

js
wxpay
.
v3
.
marketing
.
favor
.
users
.
_openid_
.
coupons
.
_coupon_id_
.
get
({
openid
,
coupon_id
,
params
,
}) .
then
(
({
data
: {
stock_creator_mchid
,
stock_id
,
coupon_id
,
coupon_name
,
status
,
description
,
create_time
,
coupon_type
,
start_time
,
stop_time
,
singleitem
,
cut_to_message
,
available_begin_time
,
available_end_time
,
normal_coupon_information
,
consume_information
,
}, }) => ({
stock_creator_mchid
,
stock_id
,
coupon_id
,
coupon_name
,
status
,
description
,
create_time
,
coupon_type
,
start_time
,
stop_time
,
singleitem
,
cut_to_message
,
available_begin_time
,
available_end_time
,
normal_coupon_information
,
consume_information
,
}) )

Released under the MIT License. (SITEMAP)