对账核销应收订单关联明细
系统相关界面
"界面路径:【智库】----【对账核销】----【应收订单明细】----【点击列表中的一行关联明细】"
请求地址
| 环境 | 服务地址(HTTP/HTTPS) |
|---|---|
| V2正式环境(推荐) | https://gw.superboss.cc/router |
2022年4月1日以后申请的APP Key,统一使用V2正式环境的请求地址:https://gw.superboss.cc/router
公共参数
调用任何一个API都必须传入的参数,目前支持的公共参 数有:
| 参数名称 | 参数类型 | 是否必须 | 参数描述 |
|---|---|---|---|
| method | string | 是 | API接口名称 |
| appKey | string | 是 | 分配给应用的AppKey |
| timestamp | string | 是 | 时间戳,时区为GMT+8,例如:2020-09-21 16:58:00。API服务端允许客户端请求最大时间误差为10分钟 |
| format | string | 否 | 响应格式。默认为json格式,可选值:json |
| version | string | 是 | API协议版本 可选值:1.0 |
| sign_method | string | 否 | 签名的摘要算法(默认 hmac),可选值为:hmac,md5,hmac-sha256。 |
| sign | string | 是 | 签名 |
| session | string | 是 | 授权会话信息 (即access_token,由系统分配) |
请求头
全部展开
参数名
类型
描述
必填
Content-Type
string
application/x-www-form-urlencoded;charset=UTF-8
必填
API接口地址
全部展开
参数名
类型
描述
必填
method
string
kmzk.receivable.detail.wrap
必填
请求参数
全部展开
参数名
类型
描述
必填
shopId
long
店铺ID
必填
tid
string
平台订单号
billType
integer
对账核销应收订单列表中的incomeTypeOri
billDateStart
long
对账核销应收订单列表中的billTime 毫秒值时间戳
响应参数
全部展开
参数名
类型
描述
必填
result
object
响应结果
必填
billDetailList
array
账单明细列表
alipayOrderNo
string
订单编号
billDate
long
账单日期 毫秒时间戳
billDateStr
string
账单日期文本
tid
string
平台订单号
billType
integer
账单类型
billTypeStr
string
账单类型文本
billAmount
double
账单金额
checkStatus
integer
核销状态
checkStatusStr
string
核销状态文本
accountId
string
账单项目ID
accountIdStr
string
账单项目文本
checkDate
long
核销日期 毫秒时间戳
checkDateStr
string
核销日期文本
checkId
string
核销单号
checkWay
integer
核销方式 0-系统核销
checkWayStr
string
核销方式文本 系统核销
remark
string
备注
shopName
string
店铺名称
shopUniId
string
店铺唯一ID
itemDetailList
array
商品明细列表
orderType
string
订单类型
orderTypeStr
string
订单类型文本
tid
string
平台订单号
sid
string
系统订单号
numIid
string
商品ID
itemName
string
商品名称
merchantCode
string
商家编码
itemNum
integer
商品数量
singleCost
double
单个商品成本
costTotal
double
商品总成本
payAmount
double
应付金额
refundDetailList
array
退款明细列表
refundNo
string
售后工单号
refundType
integer
退款类型
refundTypeStr
string
退款类型文本
origin
string
来源
tid
string
平台订单号
sid
string
系统订单号
refundGenerationTime
long
生成时间 毫秒时间戳
refundGenerationTimeStr
string
生成时间文本
platformRefundAmount
double
平台应退金额
refundAmount
double
退款金额
refundStatus
integer
工单状态 9-已解决
refundStatusStr
string
工单状态文本 已解决
iNumIid
string
商品ID
refundOtherDetailList
array
其他退款明细列表
refundType
integer
退款类型
refundTypeStr
string
退款类型文本
itemName
string
商品名称
primaryMerchantCode
string
主商品编码
specificationMerchantCode
string
规格商家编码
refundApplyItemNum
integer
退款申请数量
actualReturnedItemNum
integer
实际退货数量
success
boolean
是否成功
必填
traceId
string
请求跟踪ID
必填
响应示例
{
"result" : {
"billDetailList": [
{
"accountId": "交易付款",
"accountIdStr": "交易付款",
"alipayOrderNo": "1470686103507683681",
"billAmount": 81.13,
"billDate": 1761130931000,
"billDateStr": "2025-10-22 19:02:11",
"billType": 0,
"billTypeStr": "到账",
"checkDate": 1761254353297,
"checkDateStr": "2025-10-24 05:19:13",
"checkId": "20251023-3007623109480461350",
"checkStatus": 1,
"checkStatusStr": "已核销",
"checkUser": "系统",
"checkWay": 0,
"checkWayStr": "系统核销",
"consignStatus": 1,
"consignStatusStr": "已发货",
"diffFee": 0.00,
"incomeStatus": 1,
"itemDetailList": [],
"pageNo": 1,
"pageSize": 20,
"pid": "51423_51423_117552_T200P3007623109480461350_3007623109480461350_1470686103507683681_0_2025-10-22 19:02:11_7471.8",
"receivableDetailList": [],
"refundDetailList": [],
"remark": "活动链接私拍不发货!!惠清通胀气贴老用户回馈链接单盒",
"shopName": "宁帆淘宝-惠清通品牌店",
"shopUniId": "51423_117552",
"status": "交易成功",
"tid": "3007623109480461350"
}
],
"itemDetailList": [
{
"costTotal": 14.68,
"itemName": "活动链接私拍不发货!!惠清通胀气贴老用户回馈链接单盒",
"itemNum": 2,
"merchantCode": "W6288",
"numIid": "959621314770",
"orderType": "平台",
"orderTypeStr": "平台",
"payAmount": 81.13,
"sid": "5553960032070925",
"singleCost": 7.34,
"tid": "3007623109480461350"
}
],
"refundDetailList": [
{
"iNumIid": "869616259478",
"origin": "平台",
"platformRefundAmount": 72.93,
"refundAmount": 72.93,
"refundGenerationTime": 1761222192000,
"refundGenerationTimeStr": "2025-10-23 20:23:12",
"refundNo": "5558193702759424",
"refundOtherDetailList": [
{
"actualReturnedItemNum": 1,
"itemName": "惠清通桶捅小儿咳喘止咳贴儿童宝宝咳嗽痰多夜咳干咳喉咙异物",
"primaryMerchantCode": "W6589",
"refundApplyItemNum": 1,
"refundType": 1,
"refundTypeStr": "已发货仅退款"
}
],
"refundStatus": 9,
"refundStatusStr": "已解决",
"refundType": 1,
"refundTypeStr": "已发货仅退款",
"sid": "5558016680549341",
"tid": "3015189912454696167"
}
]
},
"traceId" : "5095135348713621052",
"success" : true
}