Skip to main content

养馋记发货预约

1. 前言:

2. 交互时序图:

3. 请求场景:

养馋记发货预约

4. 接口要求:

使用来伊份openapi加密协议进行加密请求

5. 接口标准

5.1 基本信息

描述
服务名称supplier-app-api
URL测试环境:https://openapi.test.laiyifen.com/supplier-app-api/v1/purchase/transport/pa
生产环境:https://openapi.laiyifen.com/supplier-app-api/v1/purchase/transport/pa
认证方式令牌
请求方式HTTP(POST)
功能描述(适用场景)养馋记发货预约

5.2 请求头公共参数 (Header)

参数名字参数类型是否必须说明
X-Co-ClientString客户端Id(来伊份提供)
X-Co-SignString签名
X-Co-TimeStampString签名时间戳

5.3 入参 Parameters

参数名称参数说明是否必须数据类型
orderNo销售订单号trueString
appointmentDate预约到货日期(yyyy-MM-dd)trueDate
driver司机trueString
telephone联系手机号trueString
licensePlateNumber车牌号码trueString
supplierRemark派车备注trueString
creator工号idtruelong
creatorName工号trueString
skuCodeList预约明细trueList
bodyskuCodeListtrueList
skuCode商品编码trueString
skuName商品名称falseString
appointmentQty发货量-基本单位trueBigDecimal
batchList生产批次trueList
bodybatchListtrueList
qty生产数量(基本单位)trueBigDecimal
productionDate生产日期(yyyy-MM-dd)trueDate

5.4 入参示例

{
"orderNo": "PO2025091232321",
"appointmentDate": {{$microTimestamp}},
"creator": 42968,
"creatorName": "00042968",
"driver": "张三",
"telephone": "17681160411",
"licensePlateNumber": "粤A124FS",
"supplierRemark": "养馋记发货预约",
"skuCodeList": [
{
"skuCode": "11441",
"skuName": "商品名称",
"appointmentQty": 10,
"batchList": [
{
"productionDate": {{$microTimestamp}},
"qty": 10
}
]
}
]
}

5.5 返回统一参数

参数名字参数类型是否必须说明
codeString返回请求业务代码
msgString返回信息描述
dataJson返回参数

5.6 返回参数Data

参数名字参数类型是否必须说明

5.7 返回示例

{
"code": "0",
"msg": "success"
}