反馈处理完成
商户可通过调用此接口,反馈投诉单已处理完成。
请求参数 | 类型 | 描述 |
---|---|---|
complaint_id | string | 投诉单号 |
json | object | 声明请求的JSON 数据结构 |
complainted_mchid | string | 被诉商户号 |
php
$instance->v3->merchantService->complaintsV2->_complaint_id_->complete->postAsync([
'complaint_id' => '200201820200101080076610000',
'json' => [
'complainted_mchid' => '1900012181',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance->chain('v3/merchant-service/complaints-v2/{complaint_id}/complete')->postAsync([
'complaint_id' => '200201820200101080076610000',
'json' => [
'complainted_mchid' => '1900012181',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r($response->getStatusCode() === 204);
})
->wait();
php
$instance['v3/merchant-service/complaints-v2/{complaint_id}/complete']->postAsync([
'complaint_id' => '200201820200101080076610000',
'json' => [
'complainted_mchid' => '1900012181',
],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r($response->getStatusCode() === 204);
})
->wait();
php
$response = $instance->v3->merchantService->complaintsV2->_complaint_id_->complete->post([
'complaint_id' => '200201820200101080076610000',
'json' => [
'complainted_mchid' => '1900012181',
],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance->chain('v3/merchant-service/complaints-v2/{complaint_id}/complete')->post([
'complaint_id' => '200201820200101080076610000',
'json' => [
'complainted_mchid' => '1900012181',
],
]);
print_r($response->getStatusCode() === 204);
php
$response = $instance['v3/merchant-service/complaints-v2/{complaint_id}/complete']->post([
'complaint_id' => '200201820200101080076610000',
'json' => [
'complainted_mchid' => '1900012181',
],
]);
print_r($response->getStatusCode() === 204);
返回字典 | 类型 | 描述 |
---|---|---|
空字符串(无返回内容) |