# 新建出库单

接口地址 /api/dxm/outbound

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求示例

{
    "warehouseId": 2001,
    "customerRef": "CUST123456",
    "orderType": 3,
    "trackingNumber": "TRK123456789",
    "attachment": "https://example.com/attachment.pdf",
    "remarks": "出库订单备注",
    "lmChannelId": 3001,
    "expressCode": "UPS",
    "customerCode": "CUST001",
    "deliveryType": 3,
    "repackage": 1,
    "pallet": 0,
    "label": 1,
    "palletLabel": 0,
    "origin": 4,
    "lmLabelSelf": false,
    "lmLabelBase64": "base64encodedstring==",
    "lmChannelCode": "UPS_GROUND",
    "trackingNumbers": ["TRK987654321", "TRK123789456"],
    "details": [
        {
            "qty": 2,
            "sku": "sku001"
        },
        {
            "qty": 1,
            "sku": "sku002"
        }
    ],
    "consigneeAddress": {
        "contacter": "Gabriela Dominguez",
        "phone": "13423040008",
        "countryCode": "US",
        "state": "CA",
        "city": "SAN JOSE",
        "address": " 2247 Flint Avenue",
        "address2": "",
        "company": "",
        "zipCode": "95148",
        "fbaCode": "",
        "deliverySignature": false
    }
}
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

请求参数

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

schema属性说明

请求对象

参数名称 参数说明 是否必须 数据类型 schema
warehouseId 仓库ID Long
customerRef 客户订单号 string
orderType 订单类型 2:b2b出库,3:一件代发 Integer 2:b2b出库,3:一件代发
trackingNumber 主追踪号 string
attachment 附件 string
remarks 备注 string
lmChannelId 快递渠道ID Long
expressCode 快递公司 string UPS/USPS
customerCode 客户代码 string
deliveryType 出库方式 1卡派,2卡派自提,3快递,4快递自提 Integer 1卡派,2卡派自提,3快递,4快递自提
repackage 换包装 1是,0否 Integer 1是,0否
pallet 打板 0否,1单面,2双面 Integer 0否,1单面,2双面
label 贴标 0否,1开箱换,2不开箱换 Integer 0否,1开箱换,2不开箱换
palletLabel 托盘标签 0否,1单面,2双面,3四面 Integer 0否,1单面,2双面,3四面
lmLabelSelf 是否自定义标签 boolean
lmLabelBase64 标签Base64编码 string
lmChannelCode 快递渠道代码 string
trackingNumbers 转单号列表 List<String>
details 商品详情列表 array
details.qty 商品数量 int
details.sku SKU编码 string
consigneeAddress 收货人地址信息 object
consigneeAddress.contacter 收货人姓名 string
consigneeAddress.phone 收货人电话 string
consigneeAddress.countryCode 国家代码 string
consigneeAddress.state 州/省 string
consigneeAddress.city 城市 string
consigneeAddress.address 地址1 string
consigneeAddress.address2 地址2 string
consigneeAddress.company 公司名称 string
consigneeAddress.zipCode 邮政编码 string
consigneeAddress.fbaCode FBA代码 string
consigneeAddress.deliverySignature 是否需要签收 boolean

响应示例

{
    "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: 2/27/2026, 5:53:27 PM