大淘客,让选品更简单! |

{{item.type_name}}:

API 市场 / 维权订单查询
 

维权订单查询
吐槽建议
应用场景:
当需要查询淘系维权订单相关数据时,调用该接口,获取所有满足条件的违规订单
接口说明:
返回所有满足条件的淘系违规订单详细数据
使用人数: 10+
维权订单查询 接口测试 建议使用通用GET方法调用
  • 接口说明
  • 更新日志
  • 接口版本号:v1.0.0

请求地址:https://openapi.dataoke.com/api/tb-service/get-refund-order-list 复制

请求方式:GET

公共参数:
请求参数:

注:请求参数须区分大小写

返回数据:
调用示例:
String url = "https://openapi.dataoke.com<span class="colour" style="color: rgb(33, 33, 33);">/api/tb-service/get-refund-order-list</span>"; 
String appKey = "xxx"; 
String appSecret = "xxx";

TreeMap<String, String> paraMap = new TreeMap<>();
paraMap.put("version", "v1.0.0");
paraMap.put("appKey", );
paraMap.put("pageNo", 1);
paraMap.put("pageSize", 10);
paraMap.put("searchType", 1);
paraMap.put("startTime", "2021-12-10");
paraMap.put("refundType", 0);
paraMap.put("bizType", 1); 
String data = ApiClient.sendReq(url, appSecret, paraMap);



新版SDK调用示例:
public void DtkTbkScRelationRefundResponse() {
        DtkApiClient client =
                DtkApiClient.getInstance("appKey", "appSecret");
        DtkTbkScRelationRefundRequest request = new DtkTbkScRelationRefundRequest();
        request.setPageNo(1);
        request.setPageSize(10);
        request.setSearchType(1);
        request.setBizType(1);
        request.setRefundType(0);
        request.setStartTime("2022-03-01 00:00:00");
        DtkApiResponse<DtkTbkScRelationRefundResponse> response = client.execute(request);
        System.out.println(JsonUtil.objectToJson(response));
    }
返回示例:
{
    "requestId": "fbf310d0602707a00bb70d728b112327",
    "time": 1642731356124,
    "code": 0,
    "msg": "成功",
    "data": {
        "page_no": 1,
        "page_size": 10,
        "total_count": 3,
        "results": [
            {
                "relation_id": 2727514465,
                "tb_trade_parent_id": "8100575436003080604",
                "tk_pub_id": "314500175",
                "tk_subsidy_fee_refund_pub": "0.3100",
                "tk_commission_fee_refund_pub": "0.0000",
                "tk_refund_suit_time": "2021-12-10 19:15:26",
                "tk_refund_time": "2021-12-10 19:15:26",
                "earning_time": "2021-12-10 19:09:46",
                "tb_trade_create_time": "2021-12-10 18:09:33",
                "refund_status": 2,
                "tb_auction_title": "麻婆豆腐等6件商品",
                "tb_trade_id": "3622278759",
                "refund_fee": "5.7000",
                "tb_trade_finish_price": "92.2000",
                "tk_pub_show_return_fee": "0.3400",
                "refund_type": 1,
                "modified_time": "2021-12-11 04:06:45"
            },
            {
                "relation_id": 2727514465,
                "tb_trade_parent_id": "8416639754881817005",
                "tk_pub_id": "314500175",
                "tk_subsidy_fee_refund_pub": "0.0000",
                "tk_commission_fee_refund_pub": "0.1700",
                "tk_refund_suit_time": "2021-12-10 12:40:40",
                "tk_refund_time": "2021-12-10 12:40:40",
                "earning_time": "2021-12-10 12:22:06",
                "tb_trade_create_time": "2021-12-10 11:11:41",
                "refund_status": 2,
                "tb_auction_title": "无需餐具   O等7件商品",
                "tb_trade_id": "3620722491",
                "refund_fee": "3.2100",
                "tb_trade_finish_price": "14.9000",
                "tk_pub_show_return_fee": "0.1900",
                "refund_type": 1,
                "modified_time": "2021-12-11 04:06:08"
            },
            {
                "relation_id": 2792126593,
                "tb_trade_parent_id": "8417143767371587955",
                "tk_pub_id": "314500175",
                "tk_subsidy_fee_refund_pub": "0.0000",
                "tk_commission_fee_refund_pub": "0.6900",
                "tk_refund_suit_time": "2021-12-10 14:00:46",
                "tk_refund_time": "2021-12-10 14:00:46",
                "earning_time": "2021-12-10 11:30:55",
                "tb_trade_create_time": "2021-12-10 10:48:50",
                "refund_status": 2,
                "tb_auction_title": "鸡爪煲+土豆+包菜+粉皮+米饭。等1件商品",
                "tb_trade_id": "3620494914",
                "refund_fee": "12.8500",
                "tb_trade_finish_price": "12.8500",
                "tk_pub_show_return_fee": "0.7700",
                "refund_type": 1,
                "modified_time": "2021-12-11 04:06:56"
            }
        ]
    }
}
错误码列表: