外送詳細資訊
訂單編號
OC261203102721148
動作
更新
版本
R2
狀態
外送資料已更新
外送資料已更新
任務:-P7tiaZ0s49ROJJTeMGj
外送任務更新成功
任務:-P7tiaZ0s49ROJJTeMGj
外送任務更新成功
顯示技術資料
{
"sourceSystem": "order_center_api",
"sourceType": "api",
"syncStatus": "ready_to_import",
"apiVersion": "v1",
"requestId": "REQ_OC261203102721148_R2_UPDATE_20261205131923",
"externalOrderId": "OC261203102721148",
"operation": "update",
"syncOperation": "update",
"orderRevision": 2,
"deliveryTaskId": "-P7tiaZ0s49ROJJTeMGj",
"changeSummary": "外送任務更新成功",
"storeId": "dawan",
"storeCode": "dawan",
"storeName": "大灣喜樂燒臘",
"customerName": "林小姐",
"phone": "0931972758",
"deliveryAddress": "保大路一段156 媽廟朝天宮",
"navigationAddress": "保大路一段156 媽廟朝天宮",
"deliveryDate": "2026-12-05",
"deliveryTime": "11:30:00",
"deliveryNote": "收據*2 2400一張 餘額一張",
"importantNote": "",
"totalAmount": 3560,
"prepaidAmount": 0,
"paymentStatus": "unpaid",
"paymentMethod": "cash",
"needCollectMoney": true,
"paymentDisplayText": "需收款 $3,560",
"bagCount": 1,
"bags": [
{
"bagNo": 1,
"bagName": "第1袋",
"itemsText": "脆皮拼油雞飯 x32、素食代購 x2",
"items": [
{
"productName": "脆皮拼油雞飯",
"quantity": 32,
"options": []
},
{
"productName": "素食代購",
"quantity": 2,
"options": []
}
]
}
],
"items": [
{
"lineNo": 1,
"bagNo": 1,
"productId": 30,
"productCode": "B015",
"productName": "脆皮拼油雞飯",
"quantity": 32,
"unitPrice": 105,
"subtotal": 3360,
"itemNote": "",
"options": []
},
{
"lineNo": 2,
"bagNo": 1,
"productId": 28,
"productCode": "B013",
"productName": "素食代購",
"quantity": 2,
"unitPrice": 100,
"subtotal": 200,
"itemNote": "",
"options": []
}
],
"sourcePayload": {
"orderCenterUrl": "https://order.joysiumei.com",
"createdBy": "order_delivery_send.php",
"orderId": 276,
"orderNo": "OC261203102721148",
"operation": "update",
"orderRevision": 2,
"orderStatus": "new",
"note": "完整訂單內容以 order 端為主;既有任務只更新訂單欄位,不覆蓋外送員資料。",
"order": {
"id": 276,
"store_id": "1",
"store_code": "dawan",
"store_name": "大灣喜樂燒臘",
"order_no": "OC261203102721148",
"external_order_id": null,
"request_id": null,
"source_system": "order_center",
"order_type": "delivery",
"status": "new",
"business_date": "2026-12-05",
"scheduled_date": null,
"meal_period": null,
"pickup_time": "11:30:00",
"delivery_time": "11:30:00",
"customer_id": null,
"customer_name_snapshot": null,
"company_name_snapshot": null,
"phone_snapshot": null,
"phone_last3": null,
"address_snapshot": null,
"navigation_address_snapshot": null,
"order_note": "",
"delivery_note": "收據*2 2400一張 餘額一張",
"subtotal_amount": "0.00",
"option_amount": "0.00",
"discount_amount": "0.00",
"manual_adjust_amount": "0.00",
"total_amount": "3560.00",
"payment_status": "unpaid",
"payment_method": "cash",
"need_collect_money": 1,
"is_monthly_billing": 0,
"billing_type": null,
"edit_deadline_at": null,
"revision_no": 1,
"created_by": null,
"confirmed_at": null,
"cancelled_at": null,
"created_at": "2026-12-03 10:27:21",
"updated_at": "2026-12-05 09:44:32",
"source_type": "phone",
"customer_name": "林小姐",
"customer_phone": "0931972758",
"delivery_address": "保大路一段156 媽廟朝天宮",
"pickup_date": "2026-12-05",
"order_status": "new",
"subtotal": "3560.00",
"need_delivery": 1,
"delivery_notes": "收據*2 2400一張 餘額一張",
"notes": "",
"navigation_address": "保大路一段156 媽廟朝天宮",
"delivery_date": "2026-12-05",
"important_note": "",
"bag_count": 1,
"delivery_sync_status": "updated",
"delivery_task_id": "-P7tiaZ0s49ROJJTeMGj",
"delivery_sync_message": "外送任務更新成功",
"delivery_synced_at": "2026-12-05 09:44:32",
"delivery_last_request_id": "REQ_OC261203102721148_R2_UPDATE_20261205094431",
"delivery_last_http_status": 200,
"delivery_last_response_json": "{\n \"success\": true,\n \"duplicated\": false,\n \"operation\": \"update\",\n \"resumed\": false,\n \"deliveryTaskId\": \"-P7tiaZ0s49ROJJTeMGj\",\n \"message\": \"外送任務更新成功\",\n \"_httpStatus\": 200,\n \"_rawBody\": \"{\\n \\\"success\\\": true,\\n \\\"duplicated\\\": false,\\n \\\"operation\\\": \\\"update\\\",\\n \\\"resumed\\\": false,\\n \\\"deliveryTaskId\\\": \\\"-P7tiaZ0s49ROJJTeMGj\\\",\\n \\\"message\\\": \\\"外送任務更新成功\\\"\\n}\"\n}",
"delivery_last_endpoint": "https://delivery.joysiumei.com/api/order_center_import.php",
"delivery_last_error_code": null,
"common_customer_id": null,
"customer_uid": "",
"delivery_order_revision": 2,
"delivery_last_synced_revision": 2,
"delivery_fulfillment_status": "pending",
"delivery_delivered_at": null,
"delivery_delivered_by_uid": null,
"delivery_delivered_by_name": null,
"delivery_proof_photo_url": null,
"delivery_status_event_id": null,
"delivery_status_callback_at": null,
"delivery_status_event_json": null,
"service_datetime": "2026-12-05 11:30:00",
"meal_period_id": "sat_lunch",
"time_source": "staff_internal",
"business_hours_settings_version": "V1.0-BH3",
"business_hours_settings_revision": "8450801d6042c1e048fbc27ba9c86ba990b36342f03b8ad2d64561472c00ef12",
"business_hours_override": 0,
"business_hours_override_reason": null,
"business_hours_override_at": null,
"print_revision": 2,
"print_revision_hash": "f89859dd7404268bef8e00bd8a08492f90917e2706bef8521e09fa90a936bfd3",
"print_revision_at": "2026-12-05 09:44:29",
"delivery_test_task_synced": 0,
"bag_names_json": "{\"1\":\"本次訂單\"}",
"prepaid_amount": "0.00"
}
},
"collectionAmount": 3560,
"itemsSnapshot": [
{
"lineNo": 1,
"bagNo": 1,
"productId": 30,
"productCode": "B015",
"productName": "脆皮拼油雞飯",
"quantity": 32,
"unitPrice": 105,
"subtotal": 3360,
"itemNote": "",
"options": []
},
{
"lineNo": 2,
"bagNo": 1,
"productId": 28,
"productCode": "B013",
"productName": "素食代購",
"quantity": 2,
"unitPrice": 100,
"subtotal": 200,
"itemNote": "",
"options": []
}
],
"bagsSnapshot": [
{
"bagNo": 1,
"bagName": "第1袋",
"itemsText": "脆皮拼油雞飯 x32、素食代購 x2",
"items": [
{
"productName": "脆皮拼油雞飯",
"quantity": 32,
"options": []
},
{
"productName": "素食代購",
"quantity": 2,
"options": []
}
]
}
],
"source": "order_center",
"taskSource": "order_center",
"orderSource": "phone"
}