# 换标订单待客户操作: 包装数据

接口地址 /api/order/outbound/change-label/package-info

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求示例

{
	"masterOrderId": 732109834873589760
}
1
2
3

请求参数

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

schema属性说明

QueryPackageInfoRequest

参数名称 参数说明 请求类型 是否必须 数据类型 schema
masterOrderId 主订单号 body false integer(int64)

响应状态

状态码 说明 schema
200 OK QueryPackageInfoResponse
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数

参数名称 参数说明 类型 schema
data array OrderCartonUnitValue
message string
success boolean

schema属性说明

OrderCartonUnitValue(每种规格的箱信息)

参数名称 参数说明 类型 schema
cartonDetailValues 箱规格 array CartonDetailValue
length number(double)
width number(double)
height number(double)
weight number(double)
totalCarton 箱数 integer(int32)

CartonDetailValue

参数名称 参数说明 类型 schema
qty 数量 integer(int32)
sku sku string

响应示例

{
    "success": true,
    "message": null,
    "data": [
        {
            "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
        }
    ]
}
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
Last Updated: 9/20/2022, 5:59:44 PM