子订单物流状态变更消息,OrderLineShipped为子订单发货消息
Topic
Kafka topic | order |
消息类型 | 顺序消息 |
消息分区键 | orderId |
消息体
名称 | 类型 | 描述 | 示例值 | |
event | String | 消息类型: OrderLineShipped 子单发货 | OrderLineShipped | |
body | purchaserId | String | 采购方ID | PID294723373 |
trackingCompanyCode | String | 快递公司代码 | SF | |
trackingCompanyName | String | 快递公司名称 | 顺丰速运 | |
modifiedTime | String | 更新时间 yyyy-MM-dd HH:mm:ss | 2023-09-11T12:22:24.000+08:00 | |
orderLineId | String | 子订单ID | 6692****5458 | |
orderId | String | 主订单ID | 6692****5457 | |
trackingNumber | String | 快递单号 | SF324****3457 | |
outerPurchaseOrderId | String | 创建采购单传入的外部采购单号 | outer123456 | |
logisticsStatus | String | 物流状态 2=已发货 -> 等待买家确认收货 | 2 | |
logisticsInformationDataList | List<LogisticsInformationData> | 物流信息集合 |
示例
{
"event": "OrderLineShipped",
"body": {
"purchaserId": "PID294723373",
"trackingCompanyCode": "STO",
"trackingCompanyName": "申通快递",
"logisticsStatus": "2",
"trackingNumber": "7732****3055",
"modifiedTime": "2023-09-11T12:22:24.000+08:00",
"orderId": "6703****8657",
"orderLineId": "6703****8658",
"outerPurchaseOrderId": "outer0020230911",
"logisticsInformationDataList": [
{
"purchaserId": "PID294723373",
"trackingCompanyCode": "STO",
"trackingCompanyName": "申通快递",
"logisticsStatus": "2",
"trackingNumber": "7732****3055",
"modifiedTime": "2023-09-11T12:22:24.000+08:00",
"orderId": "6703****8657",
"orderLineId": "6703****8658",
"outerPurchaseOrderId": "outer0020230911"
},
{
"purchaserId": "PID2947233999",
"trackingCompanyCode": "SF",
"trackingCompanyName": "顺丰快递",
"logisticsStatus": "2",
"trackingNumber": "7732****3987",
"modifiedTime": "2023-09-18T12:22:24.000+08:00",
"orderId": "6703****8657",
"orderLineId": "6703****8658",
"outerPurchaseOrderId": "outer0020230911"
}
]
}
}
变更历史
文档内容是否对您有帮助?