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销售订单号 true String 
  ycjOrderNumber养馋记订单号 true String 
  appointmentDate预约到货日期(yyyy-MM-dd) true Date 
  driver司机 true String 
  telephone联系手机号 true String 
  licensePlateNumber车牌号码 true String 
  supplierRemark派车备注 true String 
  creator工号id true long 
  creatorName工号 true String 
  skuCodeList预约明细 true List 
bodyskuCodeList true List 
  skuCode商品编码 true String 
  skuName商品名称 false String 
  appointmentQty发货量-基本单位 true BigDecimal 
  batchList生产批次 true List 
bodybatchList true List 
  qty生产数量(基本单位) true BigDecimal 
  productionDate生产日期(yyyy-MM-dd) true Date 

5.4 入参示例​

{
"orderNo": "PO2025091232321",
"ycjOrderNumber":"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"
}