# 退货入库预报

接口地址 /api/order/return-inbound

请求方式 POST

consumes ["application/json"]

produces ["*/*"]

接口描述 ``

请求示例

{
    "trackingNumber": "1Z34F37V03921234567",
    "arrivalTime": "2022-09-28",
    "warehouseId": "729508662706819072",
    "skus": [
        {
            "sku": "sku-001",
            "qty": 200
        }
    ]
}
1
2
3
4
5
6
7
8
9
10
11

请求参数

参数名称 参数说明 请求类型 是否必须 数据类型 schema
form form body true API创建退货入库订单请求对象 API创建退货入库订单请求对象
token token header true string

schema属性说明

API创建退货入库订单请求对象

参数名称 参数说明 请求类型 是否必须 数据类型 schema
trackingNumber Tracking Number body true string
arrivalTime 预计到达时间 body false string
warehouseId 仓库ID body true integer(int64)
skus sku信息 body true array sku明细

sku明细

参数名称 参数说明 请求类型 是否必须 数据类型 schema
sku sku body true string
qty 数量 body true integer(int32)

响应状态

状态码 说明 schema
200 OK API创建退货入库订单请求对象
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数

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

schema属性说明

ReturnInboundItem

参数名称 参数说明 类型 schema
orderId integer(int64)

响应示例

{
    "success": true,
    "message": null,
    "data": {
        "orderId": 731740572220772352
    }
}
1
2
3
4
5
6
7
Last Updated: 9/20/2022, 5:59:44 PM