# 换标订单待客户操作: 拆分订单
接口地址 /api/order/outbound/change-label/customer-operate-split
请求方式 POST
consumes ["application/json"]
produces ["*/*"]
接口描述 ``
请求示例
{
"masterOrderId": 732109834873589760,
"orders": [
{
"list": [
{
"cartonDetailValues": [
{
"sku": "qwe",
"qty": 2
}
],
"length": 2.0,
"width": 3.0,
"height": 4.0,
"weight": 13.0,
"totalCarton": 1
},
{
"cartonDetailValues": [
{
"sku": "qwe",
"qty": 1
}
],
"length": 2.0,
"width": 3.0,
"height": 4.0,
"weight": 9.0,
"totalCarton": 1
}
],
"shipmentId": "ship20220920005",
"deliveryType": "EXPRESS",
"fbaCode": "ONT8",
"cartonLabel": {
"content": "JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZ...",
"fileName": "carton.pdf"
},
"expressLabel": {
"content": "",
"fileName": ""
},
"palletLabel": {
"content": "",
"fileName": ""
},
"cartonLabelMap": {
"content": "",
"fileName": ""
}
}
]
}
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
47
48
49
50
51
52
53
54
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
47
48
49
50
51
52
53
54
请求参数
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| form | form | body | true | API创建换标订单待客户操作请求对象-拆分订单 | API创建换标订单待客户操作请求对象-拆分订单 |
| token | token | header | true | string |
schema属性说明
API创建换标订单待客户操作请求对象-拆分订单
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| masterOrderId | 主订单号 | body | false | integer(int64) | |
| orders | shipment Id | body | false | array | ChangeLableSubApiOrder |
ChangeLableSubApiOrder
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| list | 拆分箱数据 | body | false | array | OrderCartonUnitValue |
| shipmentId | shipment Id | body | false | string | |
| deliveryType | 运输方式:快递、卡车、快递自提、卡车自提。,可用值:EXPRESS,TRUCK,PICK_UP_SELF,PICK_UP_SELF_TRUCK | body | true | string | |
| fbaCode | fba仓码 | body | false | string | |
| cartonLabel | 箱标文件 | body | false | 文件对象 | 文件对象 |
| expressLabel | 快递面单文件 | body | false | 文件对象 | 文件对象 |
| palletLabel | 卡板标文件 | body | false | 文件对象 | 文件对象 |
| cartonLabelMap | 贴标对应文件 | body | false | 文件对象 | 文件对象 |
OrderCartonUnitValue
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| cartonDetailValues | body | false | array | CartonDetailValue | |
| height | body | false | number(double) | ||
| length | body | false | number(double) | ||
| totalCarton | body | false | integer(int32) | ||
| weight | body | false | number(double) | ||
| width | body | false | number(double) |
CartonDetailValue
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| putIn | body | false | integer(int64) | ||
| qty | body | false | integer(int32) | ||
| sku | body | false | string |
文件对象
| 参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
|---|---|---|---|---|---|
| content | 文件内容,UTF-8编码字节数组 | body | false | string(byte) | |
| fileName | 文件名 | body | false | string |
响应状态
| 状态码 | 说明 | schema |
|---|---|---|
| 200 | OK | API创建批量订单返回对象 |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found |
响应参数
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| data | array | CreateOrderResultItem | |
| message | string | ||
| success | boolean |
schema属性说明
CreateOrderResultItem
| 参数名称 | 参数说明 | 类型 | schema |
|---|---|---|---|
| masterOrderId | 主订单号 | integer(int64) | |
| subOrderIds | 子订单号 | array |
响应示例
{
"success": true,
"message": null,
"data": [
{
"masterOrderId": "732109834873589760",
"subOrderIds": [
732140378000838656
]
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12