海星仓开放平台
  1. 入库
海星仓开放平台
  • 开发者指南
    • 对接必看
    • 枚举
    • 错误码
    • 授权接口
      POST
  • 基础资料
    • 店铺列表
      GET
    • 开通的仓库列表
      GET
    • 物流渠道列表
      GET
    • 国家列表
      GET
  • 商品
    • 商品修改
      POST
    • 商品删除
      POST
    • 商品新增
      POST
    • 商品列表
      GET
    • 商品详情
      GET
    • 商品分类
      GET
    • 商品品牌
      GET
    • 商品单位
      GET
  • 订单
    • 订单新增
      POST
    • 订单列表
      GET
    • 订单详情
      GET
    • 包裹列表
      GET
    • 订单拦截
      POST
  • 库存
    • 库存查询
    • 库存日志查询
  • 入库
    • 入库预约完结
      POST
    • 入库预约作废
      POST
    • 入库预约确认
      POST
    • 新增入库预约
      POST
    • 入库预约列表
      GET
    • 入库预约详情
      GET
  • 退货
    • 退件列表
    • 退件申请详情
  1. 入库

新增入库预约

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成功
*/*
OK
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
上一页
入库预约确认
下一页
入库预约列表
Built with