Skip to content

查询投诉协商历史

商户可通过调用此接口,查询指定投诉的用户商户协商历史,以分页输出查询结果,方便商户根据处理历史来制定后续处理方案。

请求参数类型描述
base_uristring声明接入点https://apihk.mch.weixin.qq.com/(香港接入)
complaint_idstring投诉单号
queryobject声明请求的查询参数
limitinteger分页大小
offsetinteger分页开始位置
mch_languagestring商户语言
ZH_CN | ZH_TW | ZH_HK | EN | JA | KO | TH | VI | RU | DE | FR | AR | ES 枚举值之一
php
$instance->v3->global->merchantService->complaints->_complaint_id_->negotiationHistorys->getAsync([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'        => 50,
    'offset'       => 10,
    'mch_language' => 'zh_CN',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/global/merchant-service/complaints/{complaint_id}/negotiation-historys')->getAsync([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'        => 50,
    'offset'       => 10,
    'mch_language' => 'zh_CN',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/global/merchant-service/complaints/{complaint_id}/negotiation-historys']->getAsync([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'        => 50,
    'offset'       => 10,
    'mch_language' => 'zh_CN',
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->global->merchantService->complaints->_complaint_id_->negotiationHistorys->get([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'        => 50,
    'offset'       => 10,
    'mch_language' => 'zh_CN',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/global/merchant-service/complaints/{complaint_id}/negotiation-historys')->get([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'        => 50,
    'offset'       => 10,
    'mch_language' => 'zh_CN',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/global/merchant-service/complaints/{complaint_id}/negotiation-historys']->get([
  'base_uri' => 'https://apihk.mch.weixin.qq.com/', // 接入点(香港接入)
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'        => 50,
    'offset'       => 10,
    'mch_language' => 'zh_CN',
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
dataobject[]投诉协商历史
log_idstring操作流水号
operatorstring操作人
operate_timestring操作时间
operate_typestring操作类型
USER_CREATE_COMPLAINT | USER_CONTINUE_COMPLAINT | USER_RESPONSE | PLATFORM_RESPONSE | MERCHANT_RESPONSE | MERCHANT_CONFIRM_COMPLETE | USER_CREATE_COMPLAINT_SYSTEM_MESSAGE | COMPLAINT_FULL_REFUNDED_SYSTEM_MESSAGE | USER_CONTINUE_COMPLAINT_SYSTEM_MESSAGE | USER_REVOKE_COMPLAINT | USER_COMFIRM_COMPLAINT | PLATFORM_HELP_APPLICATION | USER_APPLY_PLATFORM_HELP | MERCHANT_APPROVE_REFUND | MERCHANT_REFUSE_RERUND | USER_SUBMIT_SATISFACTION | SERVICE_ORDER_CANCEL | SERVICE_ORDER_COMPLETE | COMPLAINT_PARTIAL_REFUNDED_SYSTEM_MESSAGE | COMPLAINT_REFUND_RECEIVED_SYSTEM_MESSAGE | COMPLAINT_ENTRUSTED_REFUND_SYSTEM_MESSAGE 枚举值之一
operate_detailsstring操作内容
image_liststring[]图片凭证
complaint_media_listobject操作资料列表
media_typestring媒体文件业务类型
USER_COMPLAINT_IMAGE | OPERATION_IMAGE 枚举值之一
media_urlstring[]媒体文件请求url
limitinteger分页大小
offsetinteger分页开始位置
total_countinteger投诉协商历史总条数

参阅 官方文档

Published on the GitHub by TheNorthMemory