W8海外仓系统|API文档
  1. 03 中转
W8海外仓系统|API文档
  • W8WMS API 简介
  • 01 公共接口
    • 获取机场
      POST
    • 获取自提类型
      POST
    • 获取仓库
      POST
    • 获取渠道
      POST
    • 获取可选服务
      POST
  • 02 一件代发
    • 创建产品
      POST
    • 查询产品
      POST
    • 创建入库单
      POST
    • 查询入库单
      POST
    • 创建出库单
      POST
    • 查询出库单
      POST
    • 查询库存
      POST
    • 打印箱唛
      POST
    • 退回出库单
      POST
    • 退回入库单
      POST
  • 03 中转
    • 下单
      POST
    • 删除中转订单
      POST
    • 删除出库单
      POST
    • 查询中转订单
      POST
    • 查询出库单
      POST
    • 创建出库预约单
      POST
  1. 03 中转

下单

POST
/commonApi/inner/createOrder

请求参数

Header 参数
token
string 
可选
示例值:
ddaac0cb-41ee-42b3-9198-7f3452f90aca
Body 参数application/json
param
object 
必需
houseCode
string 
仓库编码
必需
devoteNo
string 
整板号
可选
batchType
string 
批次类型
必需
1整柜 2 批次(自发)3 空运
harborCode
string 
港口编码
必需
containerNo
string 
柜号
可选
customerNo
string 
客户订单号
可选
isCustomCle
integer 
是否清关
可选
1 清关 0 不清关 不填默认0
isPick
integer 
是否提柜
可选
1 提柜 0 不提柜 不填默认0
isStripping
integer 
是否拆柜
可选
1 拆柜 0 默认不拆柜 不填默认0
isStorage
integer 
是否入库
可选
1 入库 0 默认不入库 不填默认0
pickNo
string 
提单号
可选
note
string 
备注
可选
transitType
integer 
转运地类型id
必需
transitAddrCode
integer 
中转编码
可选
contactName
string 
联系人名称
可选
contactTel
string 
联系人电话
可选
city
string 
城市
可选
country
string 
国家
可选
province
string 
省州
可选
spec
string 
柜型
可选
items
array [object {30}] 
中转订单明细
必需
如果存在子单,按箱传数据,一个子单一箱
uuid
string 
请求唯一标识符
可选
startDate
string 
请求时间
可选
示例
{
    "param":{
        "houseCode":"MDC",
        "batchType":"1",
        "harborCode":"CHI",
        "containerNo":"",
        "customerNo":"",
        "isCustomCle":1,
        "isPick":1,
        "isStripping":1,
        "isStorage":1,
        "pickNo":"",
        "note":"刘欢",
        "transitType":1,
        "transitAddrCode":"",
        "contactName":"",
        "contactTel":"",
        "city":"",
        "country":"",
        "province":"",
        "spec":"",
        "items":[{
            "waybillNo":"955959",
            "isImmediately":1,
            "isPasteLabel":1,
            "sku":"",
            "hsCode":"",
            "boxNum":1,
            "weight":0.1,
            "volume":0.1,
            "transitType":1,
            "transitAddrCode":"",
            "fbaCode":"",
            "contactName":"",
            "contactTel":"",
            "contactAddr":"",
            "city":"",
            "zipCode":"",
            "deliChannelCode":""
        }]
    },
    "uuid":"",
    "startDate":"2024-12-19"
}

示例代码

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/inner/createOrder' \
--header 'token: ddaac0cb-41ee-42b3-9198-7f3452f90aca' \
--header 'Content-Type: application/json' \
--data-raw '{
    "param":{
        "houseCode":"MDC",
        "batchType":"1",
        "harborCode":"CHI",
        "containerNo":"",
        "customerNo":"",
        "isCustomCle":1,
        "isPick":1,
        "isStripping":1,
        "isStorage":1,
        "pickNo":"",
        "note":"刘欢",
        "transitType":1,
        "transitAddrCode":"",
        "contactName":"",
        "contactTel":"",
        "city":"",
        "country":"",
        "province":"",
        "spec":"",
        "items":[{
            "waybillNo":"955959",
            "isImmediately":1,
            "isPasteLabel":1,
            "sku":"",
            "hsCode":"",
            "boxNum":1,
            "weight":0.1,
            "volume":0.1,
            "transitType":1,
            "transitAddrCode":"",
            "fbaCode":"",
            "contactName":"",
            "contactTel":"",
            "contactAddr":"",
            "city":"",
            "zipCode":"",
            "deliChannelCode":""
        }]
    },
    "uuid":"",
    "startDate":"2024-12-19"
}'

返回响应

🟢200成功
application/json
Body
code
integer 
0 成功 1失败
必需
data
object 
必需
batchType
integer 
必需
transitOrderId
integer 
必需
中转订单id 需要保存
transitNo
string 
订单号
必需
channelCode
string 
渠道编码
必需
city
string 
城市
必需
clientCode
string 
客户编码
必需
clientId
integer 
客户id
必需
createDate
string 
必需
customerNo
string 
客户单号
必需
harborCode
string 
港口编码
必需
harborCodeName
string 
港口名称
必需
houseCode
string 
仓库编码
必需
houseId
string 
仓库id
必需
items
array [object {13}] 
必需
errorMsg
string 
错误提示
必需
示例
{
    "code": 66,
    "data": {
        "batchType": 44,
        "transitOrderId": 68,
        "transitNo": "in enim in anim dolor",
        "channelCode": "55",
        "city": "武安市",
        "clientCode": "89",
        "clientId": 26,
        "createDate": "2025-04-25",
        "customerNo": "ipsum dolor",
        "harborCode": "20",
        "harborCodeName": "3",
        "houseCode": "74",
        "houseId": "26",
        "isCustomCle": 85,
        "items": [
            {
                "boxNum": "88",
                "boxType": 32,
                "clientId": 6,
                "houseId": 6,
                "inStorageStatus": 99,
                "sysWaybillNo": "do",
                "volume": 92,
                "waybillNo": "aliqua laboris sint deserunt",
                "weight": 32,
                "transitOrderItemId": "81"
            }
        ]
    }
}
上一页
退回入库单
下一页
删除中转订单
Built with