订单详情
POST
/api/openPlatform/order/details请求参数
Body 参数application/json
customerOrderSn
string
客户订单号
多个用逗号隔开,限制50
示例
{
"customerOrderSn": "SE2208222012110004111"
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
state
string
必需
msg
string
必需
data
array [object {15}]
必需
platformCode
string
平台code
shopName
string
店铺名称
siteCode
string
站点code
customerOrderSn
string
客户订单号(唯一) 最大支持50个字符
status
integer
订单状态
10待确认 20待处理 30待生成包裹 40已生成包裹 50部分发货 60已发货 65平台已发货 70已取消 80已退件
updateTime
string
更新时间
totalAmount
number
订单总金额
currency
string
币种
默认CNY
payTime
string
付款时间
buyerId
string
买家id
warehouseCode
string
发货仓库
address
object
收件信息
logistics
object
物流信息
skuList
array [object {3}]
必需
exceptions
array [object {2}]
订单异常
无异常或异常已处理时为空
示例
{
"state": "string",
"msg": "string",
"data": [
{
"platformCode": "string",
"shopName": "string",
"siteCode": "string",
"customerOrderSn": "string",
"status": 0,
"updateTime": "string",
"totalAmount": 0,
"currency": "string",
"payTime": "string",
"buyerId": "string",
"warehouseCode": "string",
"address": {
"name": "string",
"phone": "string",
"state": "string",
"city": "string",
"zipcode": "string",
"fullAddress": "string",
"email": "string"
},
"logistics": {
"channelCode": "string",
"trackingNumber1": "string",
"trackingNumber2": "string",
"labelUrl1": "string",
"labelUrl2": "string",
"labelType": "string",
"labelSize": "string",
"labelDirection": 0,
"freight": 0,
"shipByDate": "string",
"packageWeight": 0
},
"skuList": [
{
"customerSku": "string",
"quantity": 0,
"sellerPrice": 0
}
],
"exceptions": [
{
"code": 0,
"desc": "string"
}
]
}
]
}
最后修改时间: 2 年前