文档
测试

订单详情

GET
/sale-order/detail

请求头

参数名
类型
描述
必填
token
String
秘钥
必填

请求参数

参数名
类型
描述
必填
id
String
订单id
必填

响应参数

参数名
类型
描述
必填
code
number
响应码
必填
msg
String
提示信息
必填
data
Object
订单详情数据
必填
isShowDelivery
bool
是否显示物流渠道
必填
orderDetail
array
订单详情
必填
number
string
本地单号
必填
shopOrderNumber
string
平台单号
必填
status
string
订单处理状态
必填
shopName
string
店铺名称
必填
saleAt
datetime
销售时间
必填
createdAt
datetime
订单创建时间
必填
CommitmentDeliveryTime
datetime
承诺发货时间
必填
orderTypeName
string
订单类型
必填
creatorName
string
创建人
必填
warehouseName
string
发货仓库
必填
labels
array
标签,系统提示之类的
必填
otherBills
array
其他单据
必填
saleRefund
array
退款单
必填
number
string
单号
必填
id
int
ID
必填
statusText
string
状态
必填
saleReturn
array
退货单
必填
number
string
单号
必填
id
int
ID
必填
statusText
string
状态
必填
orderCategoryName
string
订单类别
必填
paymentMethodName
string
支付方式
必填
product
array
产品信息
必填
shippingFee
float
运费
必填
discount
float
折扣金额
必填
totalAmount
float
销售总金额
必填
realAmount
float
实付金额
必填
info
array
产品列表
必填
pic
string
头图
必填
attr
string
属性
必填
productName
string
产品名称
必填
salePrice
float
售价
必填
quantity
float
数量
必填
discount
float
折扣金额
必填
sku
string
系统SKU
必填
yangtaoSku
string
洋桃SKU
必填
spu
string
系统spu
必填
yangtaoSpu
string
洋桃spu
必填
refundList
array
退款单
必填
id
number
必填
number
string
退款单号
必填
statusText
string
状态文本
必填
returnList
array
退货单
必填
id
number
必填
number
string
退货单号
必填
statusText
string
状态文本
必填
couponList
array
使用的优惠券列表
必填
id
number
优惠券id
必填
name
string
优惠券名称
必填
customerInfo
array
买家信息
必填
customerPhone
string
买家手机号
必填
customerTown
string
买家区/县
必填
customerCity
string
买家城市
必填
customerState
string
买家省份
必填
customerFullname
string
买家姓名
必填
customerStreet1
string
收货地址1
必填
buyerCheckoutMessage
string
买家留言
必填
delivery
array
物流信息
必填
platformLogisticsCompanyName
string
平台物流商
必填
deliveryChannelName
string
邮寄渠道
必填
trackingNumber
string
渠道追踪号
必填
actualWeight
string
重量
必填
lspNumber
string
物流单号
必填
saleOrderTracking
array
物流信息
必填
dateAt
datetime
时间
必填
location
string
位置
必填
content
string
内容
必填
orderRemark
array
订单备注
必填
createdAt
datetime
创建时间
必填
creatorName
string
创建人
必填
typeName
string
备注类型
必填
remark
string
备注内容
必填
manyPicUrl
string
图片
必填
logger
array
操作日志
必填
created_at
datetime
时间
必填
content
string
内容
必填
operationList
array
操作按钮列表
必填
nextOrderId
int|string
下一单ID
必填

说明 / 示例

```js { "code": 1, "msg": "成功", "data": { "isShowDelivery": true, "orderDetail": { "number": "S2012020000001", "shopOrderNumber": "test1", "status": "待处理", "shopName": "洋桃好货之轻奢", "saleAt": "2020-12-02 00:00:00", "createdAt": "2020-12-02 10:50:44", "CommitmentDeliveryTime": "2020-12-04 10:50:44", "orderTypeName": "普通", "creatorName": "刘涛(Liutao Liu)", "warehouseName": "洋桃-代发仓", "labels": [], "otherBills": [] }, "product": { "info": [ { "number": "562164", "pic": "@cdnUrl/AZY9E/3A3MR6O.jpg", "attr": "紫色|F", "productName": "纯色V领套头毛衣紫色 F", "peachNumber": "2004010020210015082000", "salePrice": "100.00", "quantity": 1, "discount": 0 } ], "shippingFee": "1.0000", "discount": 0, "totalAmount": 101, "realAmount": 101 }, "customerInfo": { "customerPhone": "13250521950", "customerTown": "testtest", "customerState": "New South Wales", "customerCity": "testtest", "customerFullname": "tao liu", "customerStreet1": "test1", "buyerCheckoutMessage": "" }, "delivery": { "platformLogisticsCompanyName": null, "deliveryChannelName": "洋桃代发渠道", "trackingNumber": "", "actualWeight": "0.0000", "lspNumber": "", "saleOrderTracking": [] }, "orderRemark": [], "logger": [ { "createdAt": "2020-12-02 10:50:45", "content": "由[刘涛(Liutao Liu)]修改<ul>\n<li>订单 发货仓库 [空] -&gt; [189]</li>\n<li>订单 出库仓库 [空] -&gt; [189]</li>\n<li>订单 配送渠道 [空] -&gt; [1398]</li>\n<li>订单 类别 [普通] -&gt; [代发]</li>\n</ul>" } ] } } ```