订单详情
GET
/open/order/details
订单管理-开放平台
请求参数
Query 参数
salesOrderCodes
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo01.haixingcang.com/open/order/details'
返回响应
🟢200OK
application/json
Body
code
integer <int32>
可选
msg
string
可选
data
array[object (SalesOrderDetailOpenVO) {35}]
可选
salesOrderCode
string
海星订单号
erpOrderCode
string
三方订单号
type
enum<string>
订单类型
枚举值:
12345
status
enum<string>
状态
枚举值:
123456
deliveryStatus
enum<string>
发货状态
枚举值:
123
storeId
integer <int64>
店铺id
country
string
国家
city
string
城市
district
string
区域
province
string
省份
address
string
地址
mobile
string
手机
telephone
string
电话
zipcode
string
邮编
contact
string
联系人
cusRemark
string
客户备注
sellingAmount
number
销售金额
payType
string
支付方式
payAmount
number
支付金额
paidTime
string <date-time>
支付时间
currency
string
币种
createTime
string <date-time>
创建时间
updateTime
string <date-time>
修改时间
countryCode
string
国家编码
warehouseId
integer <int64>
仓库id
isCod
enum<string>
是否是cod订单
枚举值:
10
sellerRemark
string
卖家备注
shipmentProvider
string
物流服务商
buyerId
string
平台买家id
buyerName
string
平台买家昵称
shippingFee
number
运费
payStatus
enum<string>
支付状态
枚举值:
12
createType
enum<string>
建单类型
枚举值:
123
skuList
array[object (DetailOpen) {16}]
sku列表
packageList
array[object (PackageOpen) {15}]
包裹列表
trace
string
可选
extra
object
可选
额外字段
object
可选
ok
boolean
可选
示例
{
"code": 0,
"msg": "string",
"data": [
{
"salesOrderCode": "string",
"erpOrderCode": "string",
"type": "1",
"status": "1",
"deliveryStatus": "1",
"storeId": 0,
"country": "string",
"city": "string",
"district": "string",
"province": "string",
"address": "string",
"mobile": "string",
"telephone": "string",
"zipcode": "string",
"contact": "string",
"cusRemark": "string",
"sellingAmount": 0,
"payType": "string",
"payAmount": 0,
"paidTime": "2019-08-24T14:15:22Z",
"currency": "string",
"createTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"countryCode": "string",
"warehouseId": 0,
"isCod": "1",
"sellerRemark": "string",
"shipmentProvider": "string",
"buyerId": "string",
"buyerName": "string",
"shippingFee": 0,
"payStatus": "1",
"createType": "1",
"skuList": [
{
"skuCode": "string",
"skuName": "string",
"outSkuCode": "string",
"outSkuName": "string",
"outModelName": "string",
"quantity": 0,
"costPrice": 0,
"sellingPrice": 0,
"actualPrice": 0,
"isGift": "string",
"skuId": 0,
"outSellerSkuCode": "string",
"outSpuCode": "string",
"skuPic": "string",
"outSkuPic": "string",
"fnSkuCode": "string"
}
],
"packageList": [
{
"salesOrderCode": "string",
"dispatchOrderCode": "string",
"status": "0",
"warehouseId": 0,
"waybillPdfUrl": "string",
"expressName": "string",
"expressNo": "string",
"innerExpressCode": "string",
"deliveryTime": "2019-08-24T14:15:22Z",
"waybillSize": "string",
"weight": 0,
"lockInventoryStatus": "1",
"getWaybillStatus": "1",
"details": [
{
"skuName": "string",
"skuCode": "string",
"outQuantity": 0,
"noticeQuantity": 0,
"status": "1",
"costPrice": 0,
"sellingPrice": 0,
"actualPrice": 0,
"parentSkuCode": "string",
"skuPic": "string",
"fnSkuCode": "string",
"isGift": "string",
"lackQuantity": 0
}
],
"itemLines": [
{
"id": 0,
"outSalesOrderCode": "string",
"salesOrderCode": "string",
"dispatchOrderCode": "string",
"salesOrderDetailId": 0,
"parentSkuCode": "string",
"skuCode": "string",
"fnSkuCode": "string",
"skuName": "string",
"quantity": 0,
"costPrice": 0,
"actualPrice": 0,
"actualAmount": 0,
"sellingPrice": 0,
"sellingAmount": 0,
"isGift": "string"
}
]
}
]
}
],
"trace": "string",
"extra": {
"property1": {},
"property2": {}
},
"ok": true
}
🟠400Bad Request
🟠403Forbidden
🔴500Internal Server Error
修改于 2025-01-18 07:14:56