กดปุ่ม “ทดสอบส่ง” ที่หน้า WMS → ตั้งค่าระบบ → เชื่อมต่อระบบภายนอก → Webhook แล้วรีเฟรชหน้านี้
inbound.received
25/8/2569 09:43:10
| สถานะ | putaway_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-001385 |
| สินค้าที่จ่ายออก | ACME-001 × undefined |
{
"id": "evt_8b415264b20f1b8616562c98",
"event": "inbound.received",
"created_at": "2026-08-25 02:43:09",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00315",
"transaction_no": "IVT-202608-001385",
"received_at": "2026-08-25T02:43:09.941Z",
"qc_pending": false,
"status": "putaway_pending",
"lines": [
{
"sku": "ACME-001",
"client_sku": "CS-AUTO-56186466",
"internal_code": null,
"qty": 5,
"lot_no": null,
"expiry_date": null
}
]
}
}
order.status_changed
25/8/2569 09:08:28
| เลขที่ในคลัง | SO-T-00085 |
|---|---|
| เลขที่ของ OMS | SHORT-23706167 |
| เจ้าของสินค้า | QAOB |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-001384 |
| สินค้าที่จ่ายออก | OBQA-23706167 × 4 (ล็อต L-NEAR-23706167 หมดอายุ 2027-03-31) |
{
"id": "evt_f7aa5382000651fc19fa88fe",
"event": "order.status_changed",
"created_at": "2026-08-25 02:08:28",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"order_no": "SO-T-00085",
"external_ref": "SHORT-23706167",
"client_code": "QAOB",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-001384",
"fulfilled_at": "2026-08-25T02:08:28.756Z",
"lines": [
{
"sku": "OBQA-23706167",
"product_name": "สินค้าทดสอบสายจ่ายออก 23706167",
"quantity": 4,
"lot_no": "L-NEAR-23706167",
"expiry_date": "2027-03-31",
"warehouse_code": "BKK",
"location_code": "BKK-RCV-01"
}
],
"previous_status": "pending"
}
}
stock.updated
25/8/2569 09:08:28
| เลขที่ในคลัง | SO-T-00085 |
|---|---|
| เจ้าของสินค้า | QAOB |
| เลขที่รายการสต็อก | IVT-202608-001384 |
| เหตุผล | order_fulfilled |
{
"id": "evt_2d2bb6e5a269eaadce5de86d",
"event": "stock.updated",
"created_at": "2026-08-25 02:08:28",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"reason": "order_fulfilled",
"order_no": "SO-T-00085",
"client_code": "QAOB",
"transaction_no": "IVT-202608-001384",
"items": []
}
}
order.fulfilled
25/8/2569 09:08:28
| เลขที่ในคลัง | SO-T-00085 |
|---|---|
| เลขที่ของ OMS | SHORT-23706167 |
| เจ้าของสินค้า | QAOB |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-001384 |
| สินค้าที่จ่ายออก | OBQA-23706167 × 4 (ล็อต L-NEAR-23706167 หมดอายุ 2027-03-31) |
{
"id": "evt_a4c41bc2b8a91ca5cdfa01ab",
"event": "order.fulfilled",
"created_at": "2026-08-25 02:08:28",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"order_no": "SO-T-00085",
"external_ref": "SHORT-23706167",
"client_code": "QAOB",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-001384",
"fulfilled_at": "2026-08-25T02:08:28.756Z",
"lines": [
{
"sku": "OBQA-23706167",
"product_name": "สินค้าทดสอบสายจ่ายออก 23706167",
"quantity": 4,
"lot_no": "L-NEAR-23706167",
"expiry_date": "2027-03-31",
"warehouse_code": "BKK",
"location_code": "BKK-RCV-01"
}
]
}
}
stock.updated
25/8/2569 09:08:27
| เลขที่ในคลัง | SO-S-00060 |
|---|---|
| เจ้าของสินค้า | QAOB |
| เลขที่รายการสต็อก | IVT-202608-001383 |
| เหตุผล | order_fulfilled |
{
"id": "evt_6414a5369ae31763aa7a240e",
"event": "stock.updated",
"created_at": "2026-08-25 02:08:28",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"reason": "order_fulfilled",
"order_no": "SO-S-00060",
"client_code": "QAOB",
"transaction_no": "IVT-202608-001383",
"items": []
}
}
order.status_changed
25/8/2569 09:08:27
| เลขที่ในคลัง | SO-S-00060 |
|---|---|
| เลขที่ของ OMS | SP-23706167 |
| เจ้าของสินค้า | QAOB |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-001383 |
| สินค้าที่จ่ายออก | OBQA-23706167 × 30 (ล็อต L-NEAR-23706167 หมดอายุ 2027-03-31) |
{
"id": "evt_68c252d13f16632f1a067c44",
"event": "order.status_changed",
"created_at": "2026-08-25 02:08:28",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"order_no": "SO-S-00060",
"external_ref": "SP-23706167",
"client_code": "QAOB",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-001383",
"fulfilled_at": "2026-08-25T02:08:28.257Z",
"lines": [
{
"sku": "OBQA-23706167",
"product_name": "สินค้าทดสอบสายจ่ายออก 23706167",
"quantity": 30,
"lot_no": "L-NEAR-23706167",
"expiry_date": "2027-03-31",
"warehouse_code": "BKK",
"location_code": "BKK-RCV-01"
}
],
"previous_status": "pending"
}
}
order.fulfilled
25/8/2569 09:08:27
| เลขที่ในคลัง | SO-S-00060 |
|---|---|
| เลขที่ของ OMS | SP-23706167 |
| เจ้าของสินค้า | QAOB |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-001383 |
| สินค้าที่จ่ายออก | OBQA-23706167 × 30 (ล็อต L-NEAR-23706167 หมดอายุ 2027-03-31) |
{
"id": "evt_a2b3f55fe9f9824b1a000b31",
"event": "order.fulfilled",
"created_at": "2026-08-25 02:08:28",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"order_no": "SO-S-00060",
"external_ref": "SP-23706167",
"client_code": "QAOB",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-001383",
"fulfilled_at": "2026-08-25T02:08:28.257Z",
"lines": [
{
"sku": "OBQA-23706167",
"product_name": "สินค้าทดสอบสายจ่ายออก 23706167",
"quantity": 30,
"lot_no": "L-NEAR-23706167",
"expiry_date": "2027-03-31",
"warehouse_code": "BKK",
"location_code": "BKK-RCV-01"
}
]
}
}
inbound.received
25/8/2569 09:08:25
| สถานะ | putaway_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-001382 |
| สินค้าที่จ่ายออก | OBQA-23706167 × undefined · OBQA-23706167 × undefined |
{
"id": "evt_2acce7a5c6cf2bde52663ec2",
"event": "inbound.received",
"created_at": "2026-08-25 02:08:26",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00314",
"transaction_no": "IVT-202608-001382",
"received_at": "2026-08-25T02:08:26.581Z",
"qc_pending": false,
"status": "putaway_pending",
"lines": [
{
"sku": "OBQA-23706167",
"client_sku": null,
"internal_code": "WNV000125",
"qty": 60,
"lot_no": null,
"expiry_date": null
},
{
"sku": "OBQA-23706167",
"client_sku": null,
"internal_code": "WNV000125",
"qty": 60,
"lot_no": null,
"expiry_date": null
}
]
}
}
order.created
25/8/2569 09:08:22
| เลขที่ในคลัง | IS-202608-00157 |
|---|---|
| สถานะ | pending |
| จำนวนบรรทัด | 1 |
{
"id": "evt_182a612bef9106dc4ba11f0b",
"event": "order.created",
"created_at": "2026-08-25 02:08:23",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"order_no": "IS-202608-00157",
"document_type": "issue",
"external_ref": null,
"status": "pending",
"line_count": 1
}
}
order.cancelled
25/8/2569 09:08:20
| เลขที่ในคลัง | AO-202608-00091 |
|---|---|
| เลขที่ของ OMS | OMS-CXL-1787623700991 |
| เจ้าของสินค้า | ACME |
| สถานะ | cancelled |
| เหตุผล | ลูกค้ายกเลิกจาก OMS |
{
"id": "evt_05d8edf45306f6c3fe2cf89c",
"event": "order.cancelled",
"created_at": "2026-08-25 02:08:21",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00091",
"external_ref": "OMS-CXL-1787623700991",
"client_code": "ACME",
"status": "cancelled",
"reason": "ลูกค้ายกเลิกจาก OMS"
}
}
order.created
25/8/2569 09:08:20
| เลขที่ในคลัง | AO-202608-00091 |
|---|---|
| เลขที่ของ OMS | OMS-CXL-1787623700991 |
| เจ้าของสินค้า | ACME |
| สถานะ | pending |
| รายการสินค้าในออร์เดอร์ | BEV-1001 × 2 (น้ำดื่มบริสุทธิ์ 600 มล.) |
{
"id": "evt_076b9112abbf0f5f0ec69f07",
"event": "order.created",
"created_at": "2026-08-25 02:08:21",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00091",
"external_ref": "OMS-CXL-1787623700991",
"client_code": "ACME",
"status": "pending",
"channel": "api",
"warehouse": "BKK",
"order_date": "2026-08-25",
"customer": {
"name": null,
"phone": null,
"address": null
},
"shipment": {
"carrier_code": null,
"carrier_name": null,
"tracking_no": null,
"tracking_url": null,
"status": null,
"updated_at": null
},
"note": null,
"fulfilled_at": null,
"cancelled_at": null,
"cancel_reason": null,
"created_at": "2026-08-25 02:08:21",
"updated_at": "2026-08-25 02:08:21",
"items": [
{
"line_no": 1,
"sku": "BEV-1001",
"client_sku": "SKU-01",
"name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"uom": "PCS",
"quantity": 2,
"shipped_quantity": 0,
"unit_price": 0,
"amount": 0,
"status": "open",
"note": null
}
]
}
}
stock.updated
25/8/2569 09:08:19
| เลขที่ในคลัง | AO-202608-00090 |
|---|---|
| เจ้าของสินค้า | ACME |
| เลขที่รายการสต็อก | IVT-202608-001376 |
| ยอดคงเหลือล่าสุด | BEV-1001: คงเหลือ 2435 · พร้อมขาย 2331 |
| เหตุผล | order_fulfilled |
{
"id": "evt_44b8c6a6fe8270e8ca0c0198",
"event": "stock.updated",
"created_at": "2026-08-25 02:08:20",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"reason": "order_fulfilled",
"order_no": "AO-202608-00090",
"client_code": "ACME",
"transaction_no": "IVT-202608-001376",
"items": [
{
"sku": "BEV-1001",
"client_sku": "SKU-01",
"on_hand": 2435,
"available": 2331,
"reorder_point": 480
}
]
}
}
order.fulfilled
25/8/2569 09:08:19
| เลขที่ในคลัง | AO-202608-00090 |
|---|---|
| เลขที่ของ OMS | OMS-1787623697263 |
| เจ้าของสินค้า | ACME |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-001376 |
| สินค้าที่จ่ายออก | BEV-1001 × 9 (ล็อต E2E-NEAR-1787623696139 หมดอายุ 2026-09-14) |
{
"id": "evt_61d95a0a1f782f134193762e",
"event": "order.fulfilled",
"created_at": "2026-08-25 02:08:20",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00090",
"external_ref": "OMS-1787623697263",
"client_code": "ACME",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-001376",
"fulfilled_at": "2026-08-25T02:08:20.057Z",
"lines": [
{
"sku": "BEV-1001",
"product_name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"quantity": 9,
"lot_no": "E2E-NEAR-1787623696139",
"expiry_date": "2026-09-14",
"warehouse_code": "BKK",
"location_code": "BKK-A-01-R01-S01-B01"
}
]
}
}
order.status_changed
25/8/2569 09:08:19
| เลขที่ในคลัง | AO-202608-00090 |
|---|---|
| เลขที่ของ OMS | OMS-1787623697263 |
| เจ้าของสินค้า | ACME |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-001376 |
| สินค้าที่จ่ายออก | BEV-1001 × 9 (ล็อต E2E-NEAR-1787623696139 หมดอายุ 2026-09-14) |
{
"id": "evt_9a12fccaf65517084919e622",
"event": "order.status_changed",
"created_at": "2026-08-25 02:08:20",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00090",
"external_ref": "OMS-1787623697263",
"client_code": "ACME",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-001376",
"fulfilled_at": "2026-08-25T02:08:20.057Z",
"lines": [
{
"sku": "BEV-1001",
"product_name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"quantity": 9,
"lot_no": "E2E-NEAR-1787623696139",
"expiry_date": "2026-09-14",
"warehouse_code": "BKK",
"location_code": "BKK-A-01-R01-S01-B01"
}
],
"previous_status": "pending"
}
}
shipment.tracking_updated
25/8/2569 09:08:18
| เลขที่ในคลัง | AO-202608-00090 |
|---|---|
| เลขที่ของ OMS | OMS-1787623697263 |
| เจ้าของสินค้า | ACME |
| ผู้ให้บริการขนส่ง | Flash Express |
| เลขพัสดุ | TH99999999 |
| สถานะขนส่ง | picked_up |
{
"id": "evt_fc264274ab34777a57c1aa88",
"event": "shipment.tracking_updated",
"created_at": "2026-08-25 02:08:19",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00090",
"external_ref": "OMS-1787623697263",
"client_code": "ACME",
"shipment": {
"carrier_code": "flash",
"carrier_name": "Flash Express",
"tracking_no": "TH99999999",
"tracking_url": null,
"status": "picked_up",
"updated_at": "2026-08-25 02:08:19"
}
}
}
order.updated
25/8/2569 09:08:17
| เลขที่ในคลัง | AO-202608-00090 |
|---|---|
| เลขที่ของ OMS | OMS-1787623697263 |
| เจ้าของสินค้า | ACME |
| สถานะ | pending |
| รายการสินค้าในออร์เดอร์ | BEV-1001 × 9 (น้ำดื่มบริสุทธิ์ 600 มล.) |
{
"id": "evt_f045219e08854c3c0dfed1c8",
"event": "order.updated",
"created_at": "2026-08-25 02:08:18",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00090",
"external_ref": "OMS-1787623697263",
"client_code": "ACME",
"status": "pending",
"channel": "api",
"warehouse": "BKK",
"order_date": "2026-08-25",
"customer": {
"name": "คุณทดสอบ ระบบ",
"phone": "080-000-0000",
"address": "1 ถนนทดสอบ กรุงเทพฯ"
},
"shipment": {
"carrier_code": null,
"carrier_name": null,
"tracking_no": null,
"tracking_url": null,
"status": null,
"updated_at": null
},
"note": "แก้ไขผ่าน API",
"fulfilled_at": null,
"cancelled_at": null,
"cancel_reason": null,
"created_at": "2026-08-25 02:08:17",
"updated_at": "2026-08-25 02:08:18",
"items": [
{
"line_no": 1,
"sku": "BEV-1001",
"client_sku": "SKU-01",
"name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"uom": "PCS",
"quantity": 9,
"shipped_quantity": 0,
"unit_price": 8,
"amount": 72,
"status": "open",
"note": null
}
]
}
}
order.created
25/8/2569 09:08:16
| เลขที่ในคลัง | AO-202608-00090 |
|---|---|
| เลขที่ของ OMS | OMS-1787623697263 |
| เจ้าของสินค้า | ACME |
| สถานะ | pending |
| รายการสินค้าในออร์เดอร์ | BEV-1001 × 6 (น้ำดื่มบริสุทธิ์ 600 มล.) |
{
"id": "evt_8d2e3e8dc7c3d2016933e668",
"event": "order.created",
"created_at": "2026-08-25 02:08:17",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00090",
"external_ref": "OMS-1787623697263",
"client_code": "ACME",
"status": "pending",
"channel": "api",
"warehouse": "BKK",
"order_date": "2026-08-25",
"customer": {
"name": "คุณทดสอบ ระบบ",
"phone": "080-000-0000",
"address": "1 ถนนทดสอบ กรุงเทพฯ"
},
"shipment": {
"carrier_code": null,
"carrier_name": null,
"tracking_no": null,
"tracking_url": null,
"status": null,
"updated_at": null
},
"note": "ออร์เดอร์ทดสอบจาก e2e-api",
"fulfilled_at": null,
"cancelled_at": null,
"cancel_reason": null,
"created_at": "2026-08-25 02:08:17",
"updated_at": "2026-08-25 02:08:17",
"items": [
{
"line_no": 1,
"sku": "BEV-1001",
"client_sku": "SKU-01",
"name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"uom": "PCS",
"quantity": 6,
"shipped_quantity": 0,
"unit_price": 8,
"amount": 48,
"status": "open",
"note": null
}
]
}
}
ping
25/8/2569 09:08:15
| ข้อความ | ทดสอบการเชื่อมต่อจาก WMS Pro |
|---|
{
"id": "evt_ae020faf3eb4f109aef2e272",
"event": "ping",
"created_at": "2026-08-25 02:08:16",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"message": "ทดสอบการเชื่อมต่อจาก WMS Pro",
"endpoint_id": 46,
"sent_at": "2026-08-25T02:08:16.434Z"
}
}
inbound.received
25/8/2569 09:08:15
| สถานะ | putaway_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-001375 |
| สินค้าที่จ่ายออก | BEV-1001 × undefined · BEV-1001 × undefined · BEV-1001 × undefined |
{
"id": "evt_c72b0e5b836e4b11c9e44e6a",
"event": "inbound.received",
"created_at": "2026-08-25 02:08:16",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00311",
"transaction_no": "IVT-202608-001375",
"received_at": "2026-08-25T02:08:16.281Z",
"qc_pending": false,
"status": "putaway_pending",
"lines": [
{
"sku": "BEV-1001",
"client_sku": "SKU-01",
"internal_code": "WNV000001",
"qty": 30,
"lot_no": null,
"expiry_date": null
},
{
"sku": "BEV-1001",
"client_sku": "SKU-01",
"internal_code": "WNV000001",
"qty": 12,
"lot_no": null,
"expiry_date": null
},
{
"sku": "BEV-1001",
"client_sku": "SKU-01",
"internal_code": "WNV000001",
"qty": 18,
"lot_no": null,
"expiry_date": null
}
]
}
}
inbound.received
25/8/2569 09:08:13
| สถานะ | qc_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-001369 |
| สินค้าที่จ่ายออก | ELE-5002 × undefined |
{
"id": "evt_313ff57a56a280720439d6fa",
"event": "inbound.received",
"created_at": "2026-08-25 02:08:14",
"company_id": 1,
"client_id": 3,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00310",
"transaction_no": "IVT-202608-001369",
"received_at": "2026-08-25T02:08:14.369Z",
"qc_pending": true,
"status": "qc_pending",
"lines": [
{
"sku": "ELE-5002",
"client_sku": "SKU-03",
"internal_code": "WNV000007",
"qty": 10,
"lot_no": null,
"expiry_date": null
}
]
}
}
POST / รับ webhook · ลายเซ็นผ่านตอบ 200 · ไม่ผ่านตอบ 401GET /events ดูข้อมูลทั้งหมดเป็น JSONscripts/demo/webhook-echo/_worker.js — นำไปดัดแปลงใช้กับระบบจริงได้ทันที