Skip to content

查询活动详情

查出活动id对应的活动详情

请求参数类型描述
activity_idstring活动ID
php
$instance->v3->marketing->membercardActivity->activities->_activity_id_->getAsync([
  'activity_id' => '371067',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/membercard-activity/activities/{activity_id}')->getAsync([
  'activity_id' => '371067',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/membercard-activity/activities/{activity_id}']->getAsync([
  'activity_id' => '371067',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->membercardActivity->activities->_activity_id_->get([
  'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/membercard-activity/activities/{activity_id}')->get([
  'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/membercard-activity/activities/{activity_id}']->get([
  'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
activity_idstring活动ID
activity_statusstring活动的当前状态
create_timestring创建时间
update_timestring更新时间
card_idstring会员卡ID
activity_namestring活动名称
activity_typestring活动类型
begin_timestring活动开始时间
end_timestring活动结束时间
award_send_periodobject发放时间段
award_send_timeobject[]指定时间
begin_timestring发放开始时间
end_timestring发放结束时间
award_send_day_timeobject[]指定时间段
begin_day_timeobject每日发放开始时间
hoursinteger
minutesinteger
secondsinteger
end_day_timeobject每日发放结束时间
hoursinteger
minutesinteger
secondsinteger
stock_listobject[]优惠券列表
stock_creator_mchidstring创建批次的商户号
stock_idstring券批次ID
out_request_nostring商户请求单号
pay_activity_settingobject支付后活动设置
logo_urlstring商户logo
activity_second_titlestring支付结果页活动副标题
mchid_liststring[]活动曝光商户号
activate_settingobject激活方式设置
activate_typestring激活类型
activate_urlstring跳转激活的url
activate_miniprogramobject跳转激活的小程序
activate_appidstring跳转激活的appid
activate_pathstring跳转激活的path
payment_settingobject支付设置
payment_modeobject支付模式
payment_scene_liststring[]支付场景列表
limit_bankstring指定银行的简称
goods_tagsstring[]订单优惠标记
miniprogram_activity_settingobject支付前会员活动设置
outer_strstring[]
award_jump_deployobject领奖页面跳转配置
mini_program_appidstring小程序AppID
mini_program_pathstring小程序path
button_textstring跳转按钮文案

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory