终止活动
商户可通过该接口停止支付有礼活动。
请求参数 | 类型 | 描述 |
---|---|---|
activity_id | string | 活动id |
php
$instance->v3->marketing->paygiftactivity->activities->_activity_id_->terminate->postAsync([
'activity_id' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/marketing/paygiftactivity/activities/{activity_id}/terminate')->postAsync([
'activity_id' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/marketing/paygiftactivity/activities/{activity_id}/terminate']->postAsync([
'activity_id' => '',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->marketing->paygiftactivity->activities->_activity_id_->terminate->post([
'activity_id' => '',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/paygiftactivity/activities/{activity_id}/terminate')->post([
'activity_id' => '',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/paygiftactivity/activities/{activity_id}/terminate']->post([
'activity_id' => '',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
activity_id | string | |
terminate_time | string |
参阅 官方文档