Skip to content

终止活动

将活动终止,不会再被曝光

请求参数类型描述
activity_idstring活动ID
php
$instance->v3->marketing->membercardActivity->activities->_activity_id_->terminate->postAsync([
  '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}/terminate')->postAsync([
  '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}/terminate']->postAsync([
  '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_->terminate->post([
  'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/membercard-activity/activities/{activity_id}/terminate')->post([
  'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/membercard-activity/activities/{activity_id}/terminate']->post([
  'activity_id' => '371067',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
activity_idstring活动ID
terminate_timestring终止时间

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory