- Inbound order API
- API service controller
- Outbound order API
- Sku API
- Return order API
saveInboundInfo
POST
/inbound/save
Request
Body Params application/json
appKey
string
required
The value of app key
accessToken
string
required
timestamp
integer
required
sign
string
required
saveInbound
object (SaveInbound)
required
expectedShipmentTime
string
required
Expected Arrival time,Date format: yyyy-MM-dd,The timezone requirement is Eastern Standard Time (EST)-America/Toronto.
warehouseId
string
required
WH02001 - 02001 (Toronto PROD);
WH02002 - 02002 (Calgary PROD);
WH02003 - 02003 (Montreal PROD);
WH02004 - 02004 (Vancouver PROD);
WS02001 - S02001 (Toronto Network PROD);
WS02002 - S02002 (Toronto Network PROD);
WS02003 - S02003 (Calgary Network PROD);
WS02004 - S02004 (Oshawa Network PROD);
WS02005 - S02005 (Vancouver Network PROD);
fromOrderNo
string
optional
carrierId
string
optional
carrierOrderNo
string
optional
customerId
string
required
customerAddressId
integer
required
details
array[object (SaveInboundDetail) {6}]
required
Example
{
"appKey": "string",
"accessToken": "string",
"timestamp": 0,
"sign": "string",
"saveInbound": {
"expectedShipmentTime": "string",
"warehouseId": "string",
"fromOrderNo": "string",
"carrierId": "string",
"carrierOrderNo": "string",
"customerId": "string",
"customerAddressId": 0,
"details": [
{
"sku": "string",
"unit": "string",
"unitQty": 0,
"batchNo": "string",
"productionDate": "string",
"expirationDate": "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 '/inbound/save' \
--header 'Content-Type: application/json' \
--data-raw '{
"appKey": "string",
"accessToken": "string",
"timestamp": 0,
"sign": "string",
"saveInbound": {
"expectedShipmentTime": "string",
"warehouseId": "string",
"fromOrderNo": "string",
"carrierId": "string",
"carrierOrderNo": "string",
"customerId": "string",
"customerAddressId": 0,
"details": [
{
"sku": "string",
"unit": "string",
"unitQty": 0,
"batchNo": "string",
"productionDate": "string",
"expirationDate": "string"
}
]
}
}'
Responses
🟢200Success
application/json
Body
操作消息提醒
key
object
optional
Example
{
"": {}
}