终止活动
将活动终止,不会再被曝光
请求参数 | 类型 | 描述 |
---|---|---|
activity_id | string | 活动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_id | string | 活动ID |
terminate_time | string | 终止时间 |