多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### 使用描述 查询售后单详情 ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E6%96%B9%E6%B3%95%E5%90%8D)方法名 dby.scm.aftersale.details ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E7%BD%91%E5%85%B3%E5%9C%B0%E5%9D%80)网关地址 | 环境 | 地址 | 请求方式 | | --- | --- | --- | | 生产环境 | `https://openapi.duobaoyu.com.cn/open/api` | post+json | | 测试环境 | `https://openapi.duobaoyu88.cn/open/api` | post+json | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E5%85%AC%E5%85%B1query%E5%8F%82%E6%95%B0)公共Query参数 * * * | 名称 | 类型 | 必填 | 描述 | | --- | --- | --- | --- | | method | String | 是 | 方法名称 | | sign | String | 是 | [签名](签名规则.md) | | timestamp | String | 是 | 时间戳,格式为13位,例如:1670223623000 | | version | String | 是 | 版本号,现固定为v1 | | appKey | String | 是 | 申请的应用appKey | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E4%B8%9A%E5%8A%A1body%E5%8F%82%E6%95%B0applicationjson)业务Body参数(application/json) * * * | 名称 | 类型 | 必填 | 示例值 | 描述 | | --- | --- | --- | --- | --- | | afterSaleOrderId | java.lang.String | 是 | 1595302620191391744 | 售后订单号 | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E5%93%8D%E5%BA%94%E5%8F%82%E6%95%B0)响应参数 * * * | 名称 | 类型 | 示例值 | 描述 | | --- | --- | --- | --- | | code | java.lang.String | 0 | 业务编码处理结果编码 | | msg | java.lang.String | 请求成功 | 业务处理结果结果说明 | | data | java.lang.Object | | 响应结果 | |   ├─afterSaleOrderId | java.lang.String | | 售后订单号 | |   ├─afterSaleStatus | java.lang.Integer | 3 | 售后单状态(1:待审核;2:已完成;3:审核拒绝;4:已取消;5:待寄回;6:买家已寄回;7:卖家已收货;8:买家待确认,9:卖家待处理) | |   ├─cancelRemark | java.lang.String | | 取消原因 | |   ├─failReason | java.lang.String | | 审核失败驳回理由 | |   ├─refundFreightAmount | java.lang.Long | | 退款运费(单位:分) | |   ├─actualRefundFreightAmount | java.lang.Long | | 实际退款运费(单位:分) | |   ├─orderItemId | java.lang.String | | 子订单号 | |   ├─reasonCode | java.lang.String | | 售后原因编码 | |   ├─reasonName | java.lang.String | | 售后原因说明 | |   ├─remark | java.lang.String | | 售后描述 | |   ├─refundAmount | java.lang.Long | | 退款金额(单位:分) | |   ├─createTime | java.lang.Long | | 售后单创建时间(13位时间戳 例:1669305375031) | |   ├─pickupWare | java.lang.Integer | | 取件方式 | |   ├─vouchers | java.util.List | | 凭证图片列表 | |   ├─saleProduct | java.lang.Object | | 售后商品信息 | |     ├─afterSaleType | java.lang.Integer | | 售后类型 | |     ├─skuName | java.lang.String | | 商品名称 | |     ├─skuNum | java.lang.String | | 商品数量 | |     ├─skuCode | java.lang.String | | sku编号 | |   ├─afterSaleCustomerInfo | java.lang.Object | | 售后回查用户信息 | |     ├─contactName | java.lang.String | | 联系人 | |     ├─mobile | java.lang.String | | 联系人手机 | |   ├─afterSaleWareInfo | java.lang.Object | | 售后回查取件信息号 | |     ├─pickupProvince | java.lang.String | | 取件省 | |     ├─pickupProvinceName | java.lang.String | | 取件省名称 | |     ├─pickupCity | java.lang.String | | 取件市 | |     ├─pickupCityName | java.lang.String | | 取件市名称 | |     ├─pickupCounty | java.lang.String | | 取件县 | |     ├─pickupCountyName | java.lang.String | | 取件县名称 | |     ├─pickupVillage | java.lang.String | | 取件乡镇 | |     ├─pickupVillageName | java.lang.String | | 取件乡镇名称 | |     ├─pickupAddress | java.lang.String | | 取件取件街道地址 | |     ├─reserveBegin | java.lang.Long | | 预约取件开始时间(13位时间戳 例:1669305375031) | |     ├─reserveEnd | java.lang.Long | | 预约取件结束时间(13位时间戳 例:1669305375031) | |   ├─afterSaleWayBillList | java.util.List | | 运单信息集合 | |     ├─deliverDate | java.lang.Long | | 发货日期 | |     ├─expressCode | java.lang.String | | 货运单号 | |     ├─expressCompany | java.lang.String | | 发货公司 | |     ├─expressCompanyCode | java.lang.String | | 发货公司编码 | |     ├─skuNum | java.lang.Integer | | 货运单中商品数量 | | msgId | java.lang.String | efd7f07011124adf | 消息id | ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E8%AF%B7%E6%B1%82%E7%A4%BA%E4%BE%8B)请求示例 curljavaphp ~~~json curl -XPOST -H "Content-type: application/json" -d '{ "afterSaleOrderId":"1597771590437830656" }' 'http://xxxxx/open/api?method=dby.scm.aftersale.details&version=v1&appKey=your appKey&timestamp=1670057525000&sign=123' ~~~ ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E5%93%8D%E5%BA%94%E7%A4%BA%E4%BE%8B)响应示例 ~~~json { "code": "0", "msg": "请求成功", "data": { "afterSaleOrderId": "1638810599506968576", "orderItemId": "1638810498210332672", "refundAmount": 6500, "afterSaleStatus": 6, "failReason": null, "reasonCode": "888888", "reasonName": "mock售后原因", "remark": "售后描述", "cancelRemark": null, "vouchers": [ "https://xxxxxx/xxxx/56bb2a7c066a404494f2ac1b9523ffff.png" ], "refundFreightAmount": 234, "actualRefundFreightAmount": 0, "createTime": "1679557869000", "pickupWare": 3, "saleProduct": { "skuCode": "52121791297", "skuName": "可收纳家用面板带USB插板多功能带线多用插座插线板接线板插排", "afterSaleType": 1, "skuNum": 10 }, "afterSaleWareInfo": { "pickupProvince": "31", "pickupProvinceName": "上海市", "pickupCity": "3101", "pickupCityName": "市辖区", "pickupCounty": "310101", "pickupCountyName": "黄浦区", "pickupVillage": "310101020", "pickupVillageName": "五里桥街道", "pickupAddress": "金茂大厦", "reserveBegin": "1679630159000", "reserveEnd": "1679633759000" }, "afterSaleCustomerInfo": { "mobile": "15976688867", "contactName": "张三" }, "afterSaleWayBillList": [ { "deliverDate": "1679557788000", "expressCode": "001", "expressCompanyCode": "111", "expressCompany": "顺丰", "skuNum": 5 } ] }, "msgId": "4480b51746eb4f17" } ~~~ ### [](https://duobaoyu.com.cn/documentcenter?onlyFlag=2b81d3b24ba124c264d26eca8ed1852b#%E5%BC%82%E5%B8%B8%E7%A4%BA%E4%BE%8B)异常示例 ~~~json { "code": "1", "msg": "请求失败", "data": null, "msgId": "efd7f07011124adf" } ~~~