文档
测试

订单详情接口

POST
https://shg-dev.fingo.shop/api/proxyjson

服务名与接口名称

参数名
类型
描述
必填
serverName
string
order-boss
必填
interfaceName
string
OrderService.GetOrderDetail
必填

请求参数

参数名
类型
描述
必填
orderId
string
订单编号
必填

响应参数

参数名
类型
描述
必填
success
boolean
接口是否调用成功 true:成功, false:失败
必填
ret
object
接口返回码对象
必填
errCode
integer
返回错误码
必填
errName
string
错误码名称
必填
msg
string
错误信息
必填
notShowMsg
boolean
该参数暂时无用,可无视
必填
data
object
必填
orderInfo
object
订单基本信息
必填
countryCode
string
国家码 (前端展示参考:订单映射查询接口,key为countryCode的json)
必填
orderId
string
订单ID
必填
orderStatus
integer
订单状态(前端展示参考:订单映射查询接口,key为orderStatus的json)
必填
orderType
integer
订单类型(前端展示参考:订单映射查询接口,key为orderType的json)
必填
totalAmount
double
总金额
必填
createTime
string
下单时间
必填
payTime
string
支付时间
必填
receiveTime
string
收货时间
必填
usePoints
string
积分抵扣金额
必填
paied
double
实际支付金额
必填
transCode
string
交易流水号
必填
payWay
integer
支付方式 todo
必填
paySupplier
string
支付商户
必填
userId
string
用户id
必填
nickName
string
用户昵称
必填
userLevel
integer
用户等级
必填
parentId
string
上级用户id
必填
parentNick
string
上级用户昵称
必填
parentLevel
integer
上级用户等级
必填
currency
string
订单货币单位
必填
paiedCurrency
string
实际支付的货币单位
必填
logicType
integer
物流方式(前端展示参考:订单映射查询接口,key为logicType的json)
必填
chargeAccountNo
string
充值账号
必填
productInfo
object
商品信息
必填
totalPrice
double
商品总价
必填
coupon
double
优惠券优惠金额
必填
promotion
double
促销优惠金额
必填
payable
double
应付总价
必填
refund
double
退款金额
必填
couponid
string
优惠券ID
必填
couponlable
string
优惠券名称
必填
freight
double
运费
必填
productItemList
object数组
订单下的商品信息
必填
deliveryDeadline
string
预售的最迟发货时间
必填
productSnap
object
商品快照信息
必填
productId
string
商品id
必填
skuId
string
skuId
必填
productName
string
商品名称
必填
afterPledgeList
object数组
售后政策
必填
pledgeId
string
售后策略id
必填
label
string
售后策略标签
必填
arrivalPledgeList
object数组
到货政策
必填
pledgeId
string
到货策略id
必填
label
string
到货策略标签
必填
activityList
object数组
所属活动
必填
activityId
string
活动id
必填
icon
string
图标的URL
必填
activityPrice
string
活动价格
必填
promotionList
object数组
所属促销
必填
promotionId
string
促销id
必填
type
integer
促销类型(前端展示参考:订单映射查询接口,key为promotionType的json)
必填
discountAmount
string
促销金额
必填
label
string
标签
必填
couponInfoList
object数组
所用优惠券
必填
couponId
string
优惠券id
必填
discountAmount
string
优惠金额
必填
label
string
标签
必填
attrList
object数组
属性信息
必填
attrId
string
属性id
必填
attrLabel
string
属性标签
必填
valueId
string
值iD
必填
valueLabel
string
值名称
必填
freightTemplate
object
运费模板
必填
templateId
string
模板id
必填
templateName
string
模板名称
必填
num
integer
购买数量
必填
returnNum
integer
退还数量
必填
price
string
售价
必填
skuCover
string
主图
必填
couponDiscount
string
优惠券优惠金额(单价)
必填
promotionDiscount
string
促销优惠金额(单价)
必填
payable
string
实付单价
必填
afterStatus
integer
售后状态(前端展示参考:订单映射查询接口,key为orderAfterStatus的json)
必填
afterId
string
售后id
必填
dataVersion
integer
数据版本号
必填
suborderItemList
object 数组
子订单信息
必填
suborderId
string
子订单id
必填
status
integer
订单状态(前端展示参考:订单映射查询接口,key为orderStatus的json)
必填
warehouseName
string
仓库名称
必填
warehouseNo
string
仓库编号
必填
splitType
string
子单拆单类型
必填
receiverInfo
object
收件人信息
必填
receiverName
string
收件人姓名
必填
receiverPhone
string
收件人手机号
必填
receiverAddress
string
收件人地址
必填
remark
string
备注
必填
cityCode
string
必填
stateCode
string
必填
postcode
string
邮编
必填
pointsInfo
object
积分信息
必填
titleList
object数组
标题
必填
userId
string
用户id
必填
userLevel
integer
用户等级
必填
nickname
string
昵称
必填
currency
string
币种
必填
pointType
integer
积分类型
必填
skuPointsInfoList
object数组
sku积分
必填
skuCover
string
主图
必填
skuId
string
skuId
必填
pointsList
string数组
积分数组
必填
pointsVerticalSumList
string数组
积分小计(垂直)
必填
pointsHorizontalSumList
string数组
积分小计(水平)
必填

响应报文样例

{"success":true,"data":{"orderInfo":{"countryCode":"MY","orderId":null,"orderStatus":1,"orderType":0,"totalAmount":465,"createTime":"1597809498164","payTime":"1597809499502","receiveTime":"null","usePoints":"465.00","paied":465,"transCode":"540365570843873280","payWay":2,"paySupplier":"","userId":"11100660","nickName":"60100111112","userLevel":3,"parentId":"28","parentNick":"chrome","parentLevel":5,"currency":"RM","paiedCurrency":"","logicType":1,"chargeAccountNo":""},"productInfo":{"totalPrice":275,"coupon":0,"promotion":0,"payable":0,"refund":0,"couponid":null,"couponlable":null,"freight":null,"productItemList":[{"deliveryDeadline":null,"productSnap":{"productId":"540364492068884480","skuId":"540364492098244608","productName":"供应商回归商品(边售边裁)010","afterPledgeList":[{"pledgeId":"514722848447664128","label":"7天无忧退货测试"}],"arrivalPledgeList":[{"pledgeId":"458445032265879552","label":"经济物流"}],"activityList":[],"promotionList":null,"couponInfoList":null,"attrList":[],"freightTemplate":null,"num":5,"returnNum":null,"price":"55.00","skuCover":"/fingo/product/2020-08/19/original/18493540360785306583040_original_400x400.jpg","couponDiscount":null,"promotionDiscount":null,"payable":"55.00","afterStatus":-1,"afterId":null,"dataVersion":null},"suborderItemList":[{"suborderId":"540365568323096576","status":1,"warehouseName":"东莞云仓","warehouseNo":"0005","splitType":"PURCHASE"}]}]},"receiverInfo":{"receiverName":"Swk-ABX","receiverPhone":"0100111112","receiverAddress":"No 50 Jalan PJS 2C/8 Taman Dato harun Petaling Jaya Selangor","remark":"","cityCode":"KUCHING","stateCode":"SARAWAK","postcode":"93000"},"pointsInfo":{"titleList":[{"userId":"11100660","userLevel":3,"nickname":"60100111112","currency":"","pointType":null},{"userId":"28","userLevel":5,"nickname":"chrome","currency":"","pointType":null}],"skuPointsInfoList":[{"skuCover":"/fingo/product/2020-08/19/original/18493540360785306583040_original_400x400.jpg","skuId":"540364492098244608","pointsList":["-","7.70"]}],"pointsVerticalSumList":["0","7.70"],"pointsHorizontalSumList":null}},"ret":{"errCode":0,"errName":"","msg":"","notShowMsg":false}}