子訂單物流狀態變更消息,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"
}
]
}
}
變更歷史
文檔內容是否對您有幫助?