Skip to content

查询自定义入口

该接口为电子小票自定义入口查询接口,商家可以通过该接口查询品牌的自定义入口展示内容。 官方文档

js
wxpay
.
v3
.
marketing
.
shoppingReceipt
.
customentrances
.
_brand_id_
.
get
({
brand_id
,
}) .
then
(
({
data
: {
custom_entrance_type
,
subtitle
,
goods_thumbnail_url
,
custom_entrance_state
,
start_time
,
end_time
,
brand_id
,
create_time
,
modify_time
,
out_request_no
,
jump_link
,
}, }) => ({
custom_entrance_type
,
subtitle
,
goods_thumbnail_url
,
custom_entrance_state
,
start_time
,
end_time
,
brand_id
,
create_time
,
modify_time
,
out_request_no
,
jump_link
,
}) )

更新自定义入口

该接口为电子小票自定义入口更新接口,商家可以通过该接口为品牌更新自定义入口展示内容。 官方文档

js
wxpay
.
v3
.
marketing
.
shoppingReceipt
.
customentrances
.
_brand_id_
.
patch
({
custom_entrance_type
,
subtitle
,
goods_thumbnail_url
,
custom_entrance_state
,
start_time
,
end_time
,
out_request_no
,
jump_link
,
}, {
brand_id
, })
.
then
(
({
data
: {
custom_entrance_type
,
subtitle
,
goods_thumbnail_url
,
custom_entrance_state
,
start_time
,
end_time
,
brand_id
,
create_time
,
modify_time
,
out_request_no
,
jump_link
,
}, }) => ({
custom_entrance_type
,
subtitle
,
goods_thumbnail_url
,
custom_entrance_state
,
start_time
,
end_time
,
brand_id
,
create_time
,
modify_time
,
out_request_no
,
jump_link
,
}) )

Released under the MIT License. (SITEMAP)