新增入库预约
POST
/open/inboundNotice/add
入库预约-开放平台
请求参数
Body 参数application/json
thirdCode
string
三方单号
expectArrivalTime
string <date>
预计到达时间
expressName
string
物流名称
expressNo
string
物流单号
expressPrice
number
运费
orderPieces
integer <int32>
货物箱数
orderVolume
number
货物体积m³
orderWeight
number
货物重量kg
remark
string
备注
sendCountry
string
发件国家
sendProvince
string
发件省份
sendCity
string
发件城市
sendAddress
string
发件街道
warehouseId
string
仓库
autoAudit
boolean
自动审核
details
array[object (InboundNoticeDetailOpenDTO) {11}]
可选
quantity
integer <int32>
数量
skuCode
string
sku编码
costPrice
number
成本价
qualityCheck
boolean
是否质检
labeling
boolean
是否贴标
produceTime
string <date-time>
生产时间
boxNo
string
箱号
boxWidth
number
箱宽cm
boxLength
number
箱长cm
boxHeight
number
箱高cm
boxList
array[object (InboundBoxDTO) {5}]
装箱信息
示例
{
"thirdCode": "string",
"expectArrivalTime": "2019-08-24",
"expressName": "string",
"expressNo": "string",
"expressPrice": 0,
"orderPieces": 0,
"orderVolume": 0,
"orderWeight": 0,
"remark": "string",
"sendCountry": "string",
"sendProvince": "string",
"sendCity": "string",
"sendAddress": "string",
"warehouseId": "string",
"autoAudit": true,
"details": [
{
"quantity": 0,
"skuCode": "string",
"costPrice": 0,
"qualityCheck": true,
"labeling": true,
"produceTime": "2019-08-24T14:15:22Z",
"boxNo": "string",
"boxWidth": 0,
"boxLength": 0,
"boxHeight": 0,
"boxList": [
{
"boxNo": "string",
"quantity": 0,
"width": 0,
"length": 0,
"height": 0
}
]
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://demo01.haixingcang.com/open/inboundNotice/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"thirdCode": "string",
"expectArrivalTime": "2019-08-24",
"expressName": "string",
"expressNo": "string",
"expressPrice": 0,
"orderPieces": 0,
"orderVolume": 0,
"orderWeight": 0,
"remark": "string",
"sendCountry": "string",
"sendProvince": "string",
"sendCity": "string",
"sendAddress": "string",
"warehouseId": "string",
"autoAudit": true,
"details": [
{
"quantity": 0,
"skuCode": "string",
"costPrice": 0,
"qualityCheck": true,
"labeling": true,
"produceTime": "2019-08-24T14:15:22Z",
"boxNo": "string",
"boxWidth": 0,
"boxLength": 0,
"boxHeight": 0,
"boxList": [
{
"boxNo": "string",
"quantity": 0,
"width": 0,
"length": 0,
"height": 0
}
]
}
]
}'
返回响应
🟢200成功
*/*
Body
code
integer <int32>
可选
msg
string
可选
data
object (InboundNoticeOpenAddVO)
可选
inboundNoticeCode
string
入库预约单号
skuNotFound
array[string]
可选
trace
string
可选
extra
object
可选
额外字段
object
可选
ok
boolean
可选
示例
{
"code": 0,
"msg": "string",
"data": {
"inboundNoticeCode": "string",
"skuNotFound": [
"string"
]
},
"trace": "string",
"extra": {
"property1": {},
"property2": {}
},
"ok": true
}
🟠400请求有误
🟠403禁止访问
🔴500服务器错误
修改于 2024-12-25 08:18:30