文档中心 > API类目 > 天猫服务平台

tmall.fuwu.homedecoration.seller.complaint.list (天猫家装服务商家投诉单查询接口)

天猫家装服务商家投诉单查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
seller_nick String 必须 测试商家 店铺名称
complaint_id Number 可选 123456 投诉单号
parent_order_id Number 可选 614567464 主订单号
workcard_id Number 可选 864155646 工单号
supplier_nick String 可选 测试商家 服务商名称
status Number 可选 0 投诉单状态( 0 - 未响应, 1 - 待服务商完结, 2 - 已完结, 3 - 待商家评价, 4 - 待小二判责中)
complaint_start_time String 可选 2023-02-24 10:15:00 投诉发起开始时间
complaint_end_time String 可选 2023-02-26 10:15:00 投诉发起结束时间
finish_start_time String 可选 2023-02-26 10:15:00 投诉完结开始时间
finish_end_time String 可选 2023-06-26 18:40:00 投诉完结结束时间
page_num Number 可选 1
  • 默认值:1
  • 页码
    page_size Number 可选 10
  • 默认值:10
  • 每页大小

    响应参数

    名称 类型 示例值 描述
    result Result 请求结果
    • data
    • PageModel
    • 分页数据
    • data_source
    • ComplaintOrderVO []
    • 投诉单信息
    • └ complaint_id
    • Number
    • 12356764
    • 投诉单号
    • └ workcard_id
    • Number
    • 8646464654
    • 工单号
    • └ parent_order_id
    • Number
    • 461684646548
    • 主订单号
    • └ status
    • String
    • 已完结
    • 投诉单状态
    • └ src_type
    • String
    • 工单管理
    • 渠道来源
    • └ supplier_nick
    • String
    • 测试服务商
    • 服务商名称
    • └ should_compensate_amount
    • String
    • 50
    • 服务商应赔付金额(元)
    • └ service_code
    • String
    • 晾衣架安装
    • serviceCode
    • └ complaint_reason
    • String
    • 无人预约
    • 投诉类型
    • └ complaint_time
    • String
    • 2023-11-19 21:09:24
    • 投诉时间
    • └ page_index
    • Number
    • 1
    • 页码
    • └ page_size
    • Number
    • 10
    • 每页大小
    • └ total
    • Number
    • 10086
    • 数据量
    • └ success
    • Boolean
    • true
    • 成功标志位
    • └ error_code
    • String
    • null
    • 错误码
    • └ error_msg
    • String
    • null
    • 错误信息

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    TmallFuwuHomedecorationSellerComplaintListRequest req = new TmallFuwuHomedecorationSellerComplaintListRequest();
    req.setSellerNick("测试商家");
    req.setComplaintId(123456L);
    req.setParentOrderId(614567464L);
    req.setWorkcardId(864155646L);
    req.setSupplierNick("测试商家");
    req.setStatus(0L);
    req.setComplaintStartTime("2023-02-24 10:15:00");
    req.setComplaintEndTime("2023-02-26 10:15:00");
    req.setFinishStartTime("2023-02-26 10:15:00");
    req.setFinishEndTime("2023-06-26 18:40:00");
    req.setPageNum(1L);
    req.setPageSize(10L);
    TmallFuwuHomedecorationSellerComplaintListResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <tmall_fuwu_homedecoration_seller_complaint_list_response>
        <result>
            <data>
                <data_source>
                    <complaint_order_v_o>
                        <complaint_id>12356764</complaint_id>
                        <workcard_id>8646464654</workcard_id>
                        <parent_order_id>461684646548</parent_order_id>
                        <status>已完结</status>
                        <src_type>工单管理</src_type>
                        <supplier_nick>测试服务商</supplier_nick>
                        <should_compensate_amount>50</should_compensate_amount>
                        <service_code>晾衣架安装</service_code>
                        <complaint_reason>无人预约</complaint_reason>
                        <complaint_time>2023-11-19 21:09:24</complaint_time>
                    </complaint_order_v_o>
                </data_source>
                <page_index>1</page_index>
                <page_size>10</page_size>
                <total>10086</total>
            </data>
            <success>true</success>
            <error_code>null</error_code>
            <error_msg>null</error_msg>
        </result>
    </tmall_fuwu_homedecoration_seller_complaint_list_response>

    异常示例

    • XML示例
    • JSON示例
    <error_response>
        <code>50</code>
        <msg>Remote service error</msg>
        <sub_code>isv.invalid-parameter</sub_code>
        <sub_msg>非法参数</sub_msg>
    </error_response>

    错误码解释

    错误码 错误描述 解决方案

    API工具

    如何获得此API

    FAQ

    返回
    顶部