创建入库单
POST
/commonApi/dropshipping/createInboundOrder
请求参数
Header 参数
token
string
可选
示例值:
1231231231
Body 参数application/json
param
object | null
可选
houseId
integer
必需
houseCode
string | null
必需
headwayType
integer | null
可选
headwayNo
string | null
头程单号
shippingType
integer | null
可选
{@link InboundShippingTypeEnum}
shippingCompany
string | null
货运公司
oceanShippingType
integer | null
可选
oceanCabinetType
string | null
可选
{@link InboundOceanCabinetTypeEnum}
oceanCabinetNo
string | null
海运柜号
eta
string | null
预计到达时间
boxForecastTotalNum
integer | null
预报箱数
shippingMarkType
integer
必需
items
array [object {9}]
必需
inboundOrderServices
array [object {1}] | null
可选
inboundOrderBoxes
array [object {3}] | null
可选
uuid
string | null
可选
示例
{
"param": {
"houseId": 0,
"houseCode": "string",
"headwayType": 0,
"headwayNo": "string",
"shippingType": 0,
"shippingCompany": "string",
"oceanShippingType": 0,
"oceanCabinetType": "string",
"oceanCabinetNo": "string",
"eta": "string",
"boxForecastTotalNum": 0,
"shippingMarkType": 0,
"items": [
{
"skuId": 0,
"sysSku": "string",
"sku": "string",
"boxSerial": "string",
"singleBoxNum": 0,
"boxNum": 0,
"forecastNum": "string",
"productBatchNo": "string",
"productRemark": "string"
}
],
"inboundOrderServices": [
{
"serviceId": 0
}
],
"inboundOrderBoxes": [
{
"shippingMark": "string",
"boxSerial": "string",
"serial": 0
}
]
},
"uuid": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/commonApi/dropshipping/createInboundOrder' \
--header 'token: 1231231231' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer | null
错误码
data
array [object {18}] | null
返回数据
id
integer | null
可选
houseId
integer
仓库id
orderNo
string | null
系统单号
headwayType
integer | null
可选
headwayNo
string | null
头程单号
shippingType
integer | null
可选
{@link InboundShippingTypeEnum}
shippingCompany
string | null
货运公司
oceanShippingType
integer | null
可选
oceanCabinetType
string | null
可选
{@link InboundOceanCabinetTypeEnum}
oceanCabinetNo
string | null
海运柜号
eta
string | null
预计到达时间
skuForecastTotalNum
integer | null
sku总数
boxForecastTotalNum
integer | null
预报箱数
boxInboundTotalNum
integer | null
入库箱数
shippingMarkType
integer | null
可选
items
array [object {28}]
必需
inboundOrderServices
array[object (InboundOrderServices) {3}] | null
可选
inboundOrderBoxes
array[object (InboundOrderBox) {5}] | null
可选
msg
string | null
可选
errorMsg
string | null
可选
actionMsg
string | null
用于统一行为
solution
string | null
可选
msgCode
string | null
可选
示例
{
"code": 0,
"data": null,
"msg": "",
"errorMsg": "",
"actionMsg": "",
"solution": "",
"msgCode": ""
}
修改于 2024-11-22 07:33:15