删除活动发券商户号
商户创建活动后,可以通过该接口删除支付有礼的发券商户号,用于管理活动。
请求参数 | 类型 | 描述 |
---|---|---|
activity_id | string | 活动id |
json | object | 声明请求的JSON 数据结构 |
merchant_id_list | string[] | 删除的发券商户号 |
delete_request_no | string | 商户请求单号 |
php
$instance->v3->marketing->paygiftactivity->activities->_activity_id_->merchants->delete->postAsync([
'activity_id' => '',
'json' => [
'merchant_id_list' => ['string'],
'delete_request_no' => '100002322019090134234sfdf',
],
])
->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}/merchants/delete')->postAsync([
'activity_id' => '',
'json' => [
'merchant_id_list' => ['string'],
'delete_request_no' => '100002322019090134234sfdf',
],
])
->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}/merchants/delete']->postAsync([
'activity_id' => '',
'json' => [
'merchant_id_list' => ['string'],
'delete_request_no' => '100002322019090134234sfdf',
],
])
->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_->merchants->delete->post([
'activity_id' => '',
'json' => [
'merchant_id_list' => ['string'],
'delete_request_no' => '100002322019090134234sfdf',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/marketing/paygiftactivity/activities/{activity_id}/merchants/delete')->post([
'activity_id' => '',
'json' => [
'merchant_id_list' => ['string'],
'delete_request_no' => '100002322019090134234sfdf',
],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/marketing/paygiftactivity/activities/{activity_id}/merchants/delete']->post([
'activity_id' => '',
'json' => [
'merchant_id_list' => ['string'],
'delete_request_no' => '100002322019090134234sfdf',
],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
activity_id | string | 活动id |
delete_time | string | 删除时间 |
参阅 官方文档