获取售后详情
售后详情
1.请求参数:
请求URL:
公共参数
| 参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
|---|---|---|---|---|
| appid | String | 是 | 合作伙伴AppId | |
| timestamp | String | 是 | 1657525936 | 当前Unix时间戳,秒 |
| seller_nick | String | 是 | oms38 xxxxx | 商家账号 |
| sign | String | 是 |
业务参数
| 字段名 | 类型 | 说明 |
|---|---|---|
| afterSaleId | String | 售后单号 |
2. 请求示例代码(Java)
@Test
public void GetAfterList() throws Exception {
Map<String, Object> data = new HashMap<String, Object>();
data.put("appid", Config.AppId);
Long timestamp = System.currentTimeMillis() / 1000;
data.put("timestamp", timestamp.toString());
data.put("seller_nick", Config.DDSellerNick);
data.put("afterSaleId", "3213421342143");
data.put("sign", Sign(data,Config.AppSecret));
// 调用服务API
String resp = doHttpRequest(Config.DDTradeListUrl, data);
System.out.println(resp);
}
3. 返回结果如下:
{
"code": 0,
"message": "ok",
"data": {
"xxxx":"xxxx"
},
"trace_id": "50949ea1-2e03-4835-a742-55a29e19c024"
}
说明: code为0表示成功,非0为失败,message会包含失败原因。 data字段包含列表的数据,返回字段说明参见https://op.jinritemai.com/docs/api-docs/17/1095
文档更新时间: 2026-03-06 12:22 作者:admin