新增订单
POST
/api/openPlatform/dfOrder/add请求参数
Body 参数application/json
customerOrderSn
string
订单号
trackingNumber
string
物流单号
originalTrackingNumber
string
原始物流单号
estimatedArrivalDate
string
预计到货时间
estimatedDeliveryDate
string
预计发货时间
label
string
面单地址
skuList
array [object {2}]
商品信息
customerSku
string
客户sku
quantity
integer
数量
warehouseCode
string
仓库编码
示例
{
"customerOrderSn": "customer00000222201",
"trackingNumber": "TC0000000001",
"warehouseCode": "001",
"originalTrackingNumber": "TC0000000001",
"estimatedArrivalDate": "2022-08-30",
"estimatedDeliveryDate": "2022-08-30",
"label": "https://yc-client.anestcang.com/api/product/product/print?productCode=YC001-HP00112357×=1&type=1&id=5324&tk=",
"skuList": [
{
"customerSku": "JAY0804",
"quantity": 34
},
{
"customerSku": "JAY0806",
"quantity": 17
}
]
}
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
state
string
必需
msg
string
必需
data
object
必需
orderSn
string
元仓订单号
示例
{
"state": "000001",
"msg": "新增成功",
"data": []
}
修改于 2 年前