# 新建入库单

接口地址 /api/dxm/inbound

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求示例

{
    "warehouseCode": "",
    "customerRef": "客户订单号",
    "inventoryType": "普通",
    "inboundContainerType": "整柜",
    "containerNumber":"柜号",
    "containerType":"20GP",
    "containerNotifyEmail":"拖柜通知邮箱",
    "truckNumber":"卡车车牌",
    "trackingNumber":"快递单号",
    "remark": "订单备注",
    "arrivalTime": "2024-12-19",
    "cartons": [
        {
            "sameSpecCartons": 10,
            "details": [
                {
                    "sku": "DDZC-RAM-09-12-CA",
                    "qty": 10
                },
                {
                    "sku": "X003F8DKFR",
                    "qty": 15
                }
            ]
        },
        {
            "sameSpecCartons": 20,
            "details": [
                {
                    "sku": "X003F8DKFR",
                    "qty": 15
                }
            ]
        },
        {
            "sameSpecCartons": 30,
            "details": [
                {
                    "sku": "DDZC-RAM-09-12-CA",
                    "qty": 10
                }
            ]
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

请求参数

参数名称 参数说明 请求类型 是否必须 数据类型 schema
token token header true string
form form body true 请求对象 请求对象

schema属性说明

请求对象

参数名称 参数说明 请求类型 是否必须 数据类型 schema
warehouseCode 仓库编码 body 是 string
customerRef 客户订单号 body 是 string
inventoryType 库存类型: 普通,预售 body 是 string
inboundContainerType 来货方式:整柜,卡板,散箱 body 是 string
containerNumber 柜号 body 是 string
containerType 柜型:20GP,40GP,45GP,20HQ,40HQ,45HQ,45PLWD,53HQ body 是 string
containerNotifyEmail 拖柜通知邮箱 body 是 string
truckNumber 卡车车牌号 body 是 string
trackingNumber 快递单号 body 是 string
remark 订单备注 body 是 string
arrivalTime 预计到达时间 body 是 string
cartons 装箱明细 body 是 array
cartons.sameSpecCartons 相同规格箱数 body 是 integer
cartons.details 具体商品明细 body 是 array
cartons.details.sku 商品SKU body 是 string
cartons.details.qty 商品数量 body 是 integer

响应示例

{
    "success": true,
    "message": "",
    "data": {
        "orderId": "123456"
    }
}
1
2
3
4
5
6
7

响应参数

参数名称 参数说明 类型 schema
success 是否成功 boolean
message 错误信息 string
data 响应数据 返回对象

schema属性说明

返回对象

参数名称 参数说明 类型 schema
orderId 订单ID string
Last Updated: 12/20/2024, 10:55:22 AM