- Default Group
- Product
- Inbound Plan
- Inventory
- Orders
Get Order Details
POST
/v1/saleOrder/findOne
Request
Header Params
x-api-key
string
required
Example:
abc123(认证信息)
Content-Type
string
required
Example:
application/json
Body Params application/json
orderNo
string
required
Example
{
"orderNo": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/v1/saleOrder/findOne' \
--header 'x-api-key: abc123(认证信息)' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderNo": "string"
}'
Responses
🟢200成功
application/json
Body
code
number
required
message
string
required
data
object
required
orderNo
string
required
paidAt
string
required
shipToContact
string
required
shipToAddress1
string
required
shipToAddress2
string
required
shipToAddress3
string
required
shipToCity
string
required
shipToState
string
required
shipToCountry
string
required
shipToPostal
string
required
shipToTelephone
string
required
warehouseCode
string
required
carrierCode
string
required
thirdPartyAccount
string
required
currency
string
required
isSignature
integer
required
isInsure
integer
required
orderStatusEnum
string
required
errorCode
string
required
estimatedShippingFee
number
required
productItems
array [object {4}]
required
enclosure
array [object {3}]
required
shipmentPackages
array [object {7}]
required
trackingNo
string
optional
carrier
string
optional
erpSku
string
optional
cost
number
optional
shipedQuantity
integer
optional
shipmentDate
string
optional
packageFlag
integer
optional
Example
{
"statusCode": 200,
"status": 0,
"code": 200,
"message": "获取订单数据成功",
"data": {
"orderNo": "111-5714719-6329813",
"paidAt": "2019-06-20 18:48:42",
"channelAccount": "accessory2go",
"shipToContact": "Gabriel Garner",
"shipToAddress1": "9211 WINDWARD TRCE",
"shipToAddress2": "",
"shipToAddress3": "",
"shipToCity": "SAN ANTONIO",
"shipToState": "TX",
"shipToCountry": "US",
"shipToPostal": "78254-6046",
"shipToTelephone": " 415-851-9136 28627",
"warehouseCode": "HF_CA_US",
"carrierCode": "FEDXG",
"thirdPartyAccount": "",
"shipServiceLevel": "Std US D2D Dom",
"currency": "USD",
"isSignature": 0,
"isInsure": 0,
"errorCode": "unexception",
"orderStatusEnum": "shipped",
"productItems": [
{
"sku": "P6121A51-C159",
"quantity": 1,
"skuAmount": 0.0000,
"insureAmount": 0.0000
}
],
"enclosure": [],
"shipmentPackages": [
{
"trackingNo": "788676678675",
"carrier": "FEDXG",
"erpSku": "P6121A51-C159",
"cost": 0.0000,
"shipedQuantity": 1,
"shipmentDate": "2019-07-24 03:00:05"
}
]
}
}
Modified at 2023-12-07 22:54:27