文档
测试

商品订单详情

POST
http://[ip]:[port]/app/order/orderDetails

请求参数

参数名
类型
描述
必填
id
string
订单编号
必填
orderStatus
string
orderStatus (针对退款退货订单(5,6))
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
string
订单编号
必填
storeId
int
店铺ID
必填
totalNum
int
商品数量合计
必填
returnId
object
退货退款单号
必填
timeApply
object
申请时间
必填
returnCause
object
退货退款原因
必填
status
object
退货退款状态
必填
evidence
object
凭证图片
必填
totalMoney
int
金额合计
必填
preMoney
int
优惠金额
必填
payMoney
int
实付金额
必填
postFee
int
邮费
必填
payType
object
支付类型;1:在线支付;2:货到付款;3:微信支付;4:银联支付;5:支付宝
必填
orderStatus
string
订单状态:0:待付款;1:待发货;2:已发货;3:已完成;4:已关闭
必填
payStatus
string
支付状态:0:未支付;1:已支付;2:已退款
必填
consignStatus
string
发货状态:0:未发货;1:已发货
必填
transactionNo
string
交易流水号
必填
receiverContact
string
收货人
必填
receiverMobile
string
收货人手机号
必填
receiverAddress
string
收货人地址
必填
shippingName
string
物流名称
必填
shippingCod
object
物流单号
必填
userId
int
用户id
必填
buyerMessage
object
买家留言
必填
userAccount
string
用户账号
必填
timeClose
object
交易关闭时间
必填
timeEnd
string
完成时间
必填
timePay
string
付款时间
必填
timeConsign
object
发货时间
必填
timeCreate
string
订单创建时间
必填
goodsListVos
array
数据列表
必填
itemId
string
订单详情Id
必填
goodsSkuId
string
skuId
必填
goodsSpuId
string
spuId
必填
payStatus
string
商品支付状态
必填
goodsSkuName
string
商品名称
必填
discount
string
折扣
必填
imageUrl
string
商品图片地址
必填
returnId
object
退货退款单号
必填
price
int
单价
必填
num
int
数量
必填
postFree
object
运费
必填
weight
int
重量(克)
必填
money
int
金额
必填
spec
string
商品规格
必填
payMoney
int
实付金额
必填
returnMoney
object
退款金额
必填
isReturnFreight
object
是否退运费: 0: false; 1:true
必填
status
object
申请状态: 0:申请;1:同意;2:驳回
必填
timeApply
object
申请时间
必填
returnCause
object
退货退款原因
必填
evidence
object
凭证图片
必填

请求示例

``` { "id":"1285458188933181440" } ```

响应示例

``` { "msg": "操作成功", "code": 200, "data": { "id": "1285458188933181440", "storeId": 11, "totalNum": 20, "returnId": null, "timeApply": null, "returnCause": null, "status": null, "evidence": null, "totalMoney": 812.00, "preMoney": 200.00, "payMoney": 612.00, "postFee": 0.00, "payType": null, "orderStatus": "3", "payStatus": "1", "consignStatus": "1", "transactionNo": "34534543545", "receiverContact": "刘亦菲", "receiverMobile": "1232134243", "receiverAddress": "北京", "shippingName": "韵达快递", "shippingCod": null, "userId": 2, "userAccount": "wjc", "buyerMessage": null, "timeClose": null, "timeEnd": "2020-10-20T16:11:42.000+08:00", "timePay": "2020-10-15T11:06:08.000+08:00", "timeConsign": null, "timeCreate": "2020-10-15T11:06:15.000+08:00", "goodsListVos": [ { "itemId": "1285458189050621952", "goodsSkuId": "1280709633513254912", "goodsSpuId": "1280709633483894784", "payStatus": "1", "goodsSkuName": "华为(HUAWEI) 华为荣耀Magic2 手机 全网通 红色 8GB", "discount": "0.74", "imageUrl": "http://888", "returnId": null, "price": 9.00, "num": 12, "postFree": null, "weight": 576, "money": 108.0, "spec": "{\"颜色\":\"红色\",\"版本\":\"8GB\"}", "payMoney": 80.0, "returnMoney": null, "isReturnFreight": null, "status": null, "timeApply": null, "returnCause": null, "evidence": null }, { "itemId": "1285458189075787776", "goodsSkuId": "1280709638957461504", "goodsSpuId": "1280709633483894784", "payStatus": "1", "goodsSkuName": "华为(HUAWEI) 华为荣耀Magic2 手机 全网通 黑色 16GB", "discount": "0.89", "imageUrl": "http://888", "returnId": null, "price": 88.00, "num": 8, "postFree": null, "weight": 384, "money": 704.0, "spec": "{\"颜色\":\"黑色\",\"版本\":\"16GB\"}", "payMoney": 628.0, "returnMoney": null, "isReturnFreight": null, "status": null, "timeApply": null, "returnCause": null, "evidence": null } ] } } ```