กดปุ่ม “ทดสอบส่ง” ที่หน้า WMS → ตั้งค่าระบบ → เชื่อมต่อระบบภายนอก → Webhook แล้วรีเฟรชหน้านี้
order.fulfilled
24/8/2569 14:44:47
| เลขที่ในคลัง | SO-S-00044 |
|---|---|
| เลขที่ของ OMS | SP-57486921 |
| เจ้าของสินค้า | QAOB |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-000930 |
| สินค้าที่จ่ายออก | OBQA-57486921 × 30 (ล็อต L-NEAR-57486921 หมดอายุ 2027-03-31) |
{
"id": "evt_b5fc175564ea8e44eca30cba",
"event": "order.fulfilled",
"created_at": "2026-08-24 07:44:48",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"order_no": "SO-S-00044",
"external_ref": "SP-57486921",
"client_code": "QAOB",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-000930",
"fulfilled_at": "2026-08-24T07:44:48.868Z",
"lines": [
{
"sku": "OBQA-57486921",
"product_name": "สินค้าทดสอบสายจ่ายออก 57486921",
"quantity": 30,
"lot_no": "L-NEAR-57486921",
"expiry_date": "2027-03-31",
"warehouse_code": "BKK",
"location_code": "BKK-RCV-01"
}
]
}
}
inbound.received
24/8/2569 14:44:46
| สถานะ | putaway_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-000929 |
| สินค้าที่จ่ายออก | OBQA-57486921 × undefined · OBQA-57486921 × undefined |
{
"id": "evt_104780d3c6c3598f01cb08d9",
"event": "inbound.received",
"created_at": "2026-08-24 07:44:47",
"company_id": 1,
"client_id": 4,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00203",
"transaction_no": "IVT-202608-000929",
"received_at": "2026-08-24T07:44:47.492Z",
"qc_pending": false,
"status": "putaway_pending",
"lines": [
{
"sku": "OBQA-57486921",
"client_sku": null,
"internal_code": "WNV000088",
"qty": 60,
"lot_no": null,
"expiry_date": null
},
{
"sku": "OBQA-57486921",
"client_sku": null,
"internal_code": "WNV000088",
"qty": 60,
"lot_no": null,
"expiry_date": null
}
]
}
}
order.created
24/8/2569 14:44:42
| เลขที่ในคลัง | IS-202608-00111 |
|---|---|
| สถานะ | pending |
| จำนวนบรรทัด | 1 |
{
"id": "evt_579701235f5490ac8a56f728",
"event": "order.created",
"created_at": "2026-08-24 07:44:43",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"order_no": "IS-202608-00111",
"document_type": "issue",
"external_ref": null,
"status": "pending",
"line_count": 1
}
}
order.cancelled
24/8/2569 14:44:40
| เลขที่ในคลัง | AO-202608-00063 |
|---|---|
| เลขที่ของ OMS | OMS-CXL-1787557481341 |
| เจ้าของสินค้า | ACME |
| สถานะ | cancelled |
| เหตุผล | ลูกค้ายกเลิกจาก OMS |
{
"id": "evt_829292545462ee547ef12966",
"event": "order.cancelled",
"created_at": "2026-08-24 07:44:41",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00063",
"external_ref": "OMS-CXL-1787557481341",
"client_code": "ACME",
"status": "cancelled",
"reason": "ลูกค้ายกเลิกจาก OMS"
}
}
order.created
24/8/2569 14:44:40
| เลขที่ในคลัง | AO-202608-00063 |
|---|---|
| เลขที่ของ OMS | OMS-CXL-1787557481341 |
| เจ้าของสินค้า | ACME |
| สถานะ | pending |
| รายการสินค้าในออร์เดอร์ | BEV-1001 × 2 (น้ำดื่มบริสุทธิ์ 600 มล.) |
{
"id": "evt_d73e3caaec723b69e8a40f8f",
"event": "order.created",
"created_at": "2026-08-24 07:44:41",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00063",
"external_ref": "OMS-CXL-1787557481341",
"client_code": "ACME",
"status": "pending",
"channel": "api",
"warehouse": "BKK",
"order_date": "2026-08-24",
"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-24 07:44:41",
"updated_at": "2026-08-24 07:44:41",
"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
24/8/2569 14:44:39
| เลขที่ในคลัง | AO-202608-00062 |
|---|---|
| เจ้าของสินค้า | ACME |
| เลขที่รายการสต็อก | IVT-202608-000923 |
| ยอดคงเหลือล่าสุด | BEV-1001: คงเหลือ 1721 · พร้อมขาย 1617 |
| เหตุผล | order_fulfilled |
{
"id": "evt_42788e0382c80e9ad0a88349",
"event": "stock.updated",
"created_at": "2026-08-24 07:44:40",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"reason": "order_fulfilled",
"order_no": "AO-202608-00062",
"client_code": "ACME",
"transaction_no": "IVT-202608-000923",
"items": [
{
"sku": "BEV-1001",
"client_sku": "SKU-01",
"on_hand": 1721,
"available": 1617,
"reorder_point": 480
}
]
}
}
order.status_changed
24/8/2569 14:44:39
| เลขที่ในคลัง | AO-202608-00062 |
|---|---|
| เลขที่ของ OMS | OMS-1787557477508 |
| เจ้าของสินค้า | ACME |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-000923 |
| สินค้าที่จ่ายออก | BEV-1001 × 9 (ล็อต E2E-NEAR-1787557476295 หมดอายุ 2026-09-13) |
{
"id": "evt_450a65e541c291e8701811cb",
"event": "order.status_changed",
"created_at": "2026-08-24 07:44:40",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00062",
"external_ref": "OMS-1787557477508",
"client_code": "ACME",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-000923",
"fulfilled_at": "2026-08-24T07:44:40.379Z",
"lines": [
{
"sku": "BEV-1001",
"product_name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"quantity": 9,
"lot_no": "E2E-NEAR-1787557476295",
"expiry_date": "2026-09-13",
"warehouse_code": "BKK",
"location_code": "BKK-A-01-R01-S01-B01"
}
],
"previous_status": "pending"
}
}
order.fulfilled
24/8/2569 14:44:39
| เลขที่ในคลัง | AO-202608-00062 |
|---|---|
| เลขที่ของ OMS | OMS-1787557477508 |
| เจ้าของสินค้า | ACME |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-000923 |
| สินค้าที่จ่ายออก | BEV-1001 × 9 (ล็อต E2E-NEAR-1787557476295 หมดอายุ 2026-09-13) |
{
"id": "evt_5af2c7c2eac8a0f6a49df97e",
"event": "order.fulfilled",
"created_at": "2026-08-24 07:44:40",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00062",
"external_ref": "OMS-1787557477508",
"client_code": "ACME",
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-000923",
"fulfilled_at": "2026-08-24T07:44:40.379Z",
"lines": [
{
"sku": "BEV-1001",
"product_name": "น้ำดื่มบริสุทธิ์ 600 มล.",
"quantity": 9,
"lot_no": "E2E-NEAR-1787557476295",
"expiry_date": "2026-09-13",
"warehouse_code": "BKK",
"location_code": "BKK-A-01-R01-S01-B01"
}
]
}
}
shipment.tracking_updated
24/8/2569 14:44:38
| เลขที่ในคลัง | AO-202608-00062 |
|---|---|
| เลขที่ของ OMS | OMS-1787557477508 |
| เจ้าของสินค้า | ACME |
| ผู้ให้บริการขนส่ง | Flash Express |
| เลขพัสดุ | TH99999999 |
| สถานะขนส่ง | picked_up |
{
"id": "evt_890c686a9afbc4c7bdbdf7ff",
"event": "shipment.tracking_updated",
"created_at": "2026-08-24 07:44:39",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00062",
"external_ref": "OMS-1787557477508",
"client_code": "ACME",
"shipment": {
"carrier_code": "flash",
"carrier_name": "Flash Express",
"tracking_no": "TH99999999",
"tracking_url": null,
"status": "picked_up",
"updated_at": "2026-08-24 07:44:39"
}
}
}
order.updated
24/8/2569 14:44:37
| เลขที่ในคลัง | AO-202608-00062 |
|---|---|
| เลขที่ของ OMS | OMS-1787557477508 |
| เจ้าของสินค้า | ACME |
| สถานะ | pending |
| รายการสินค้าในออร์เดอร์ | BEV-1001 × 9 (น้ำดื่มบริสุทธิ์ 600 มล.) |
{
"id": "evt_81019e98f25cf59db7378c3e",
"event": "order.updated",
"created_at": "2026-08-24 07:44:38",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00062",
"external_ref": "OMS-1787557477508",
"client_code": "ACME",
"status": "pending",
"channel": "api",
"warehouse": "BKK",
"order_date": "2026-08-24",
"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-24 07:44:37",
"updated_at": "2026-08-24 07:44:38",
"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
24/8/2569 14:44:36
| เลขที่ในคลัง | AO-202608-00062 |
|---|---|
| เลขที่ของ OMS | OMS-1787557477508 |
| เจ้าของสินค้า | ACME |
| สถานะ | pending |
| รายการสินค้าในออร์เดอร์ | BEV-1001 × 6 (น้ำดื่มบริสุทธิ์ 600 มล.) |
{
"id": "evt_9a4faa344812493e8710d6c5",
"event": "order.created",
"created_at": "2026-08-24 07:44:37",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"order_no": "AO-202608-00062",
"external_ref": "OMS-1787557477508",
"client_code": "ACME",
"status": "pending",
"channel": "api",
"warehouse": "BKK",
"order_date": "2026-08-24",
"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-24 07:44:37",
"updated_at": "2026-08-24 07:44:37",
"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
24/8/2569 14:44:35
| ข้อความ | ทดสอบการเชื่อมต่อจาก WMS Pro |
|---|
{
"id": "evt_d3ccd5924d504289e5e17590",
"event": "ping",
"created_at": "2026-08-24 07:44:36",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"message": "ทดสอบการเชื่อมต่อจาก WMS Pro",
"endpoint_id": 32,
"sent_at": "2026-08-24T07:44:36.674Z"
}
}
inbound.received
24/8/2569 14:44:35
| สถานะ | putaway_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-000922 |
| สินค้าที่จ่ายออก | BEV-1001 × undefined · BEV-1001 × undefined · BEV-1001 × undefined |
{
"id": "evt_c57489e5b8f9f7cdc99be370",
"event": "inbound.received",
"created_at": "2026-08-24 07:44:36",
"company_id": 1,
"client_id": 1,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00200",
"transaction_no": "IVT-202608-000922",
"received_at": "2026-08-24T07:44:36.481Z",
"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
24/8/2569 14:44:33
| สถานะ | qc_pending |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-000916 |
| สินค้าที่จ่ายออก | ELE-5002 × undefined |
{
"id": "evt_0b593fd570ffb38170e0fa3d",
"event": "inbound.received",
"created_at": "2026-08-24 07:44:34",
"company_id": 1,
"client_id": 3,
"attempt": 1,
"data": {
"receipt_no": "GRN-2608-00199",
"transaction_no": "IVT-202608-000916",
"received_at": "2026-08-24T07:44:34.394Z",
"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
}
]
}
}
stock.updated
24/8/2569 14:44:32
| เลขที่ในคลัง | SF-202608-00041 |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-000915 |
| ยอดคงเหลือล่าสุด | HOM-3001: คงเหลือ 2523 · พร้อมขาย 2423 |
| เหตุผล | order_fulfilled |
{
"id": "evt_de860cbbb2f805326282e8a2",
"event": "stock.updated",
"created_at": "2026-08-24 07:44:33",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"reason": "order_fulfilled",
"order_no": "SF-202608-00041",
"client_code": null,
"transaction_no": "IVT-202608-000915",
"items": [
{
"sku": "HOM-3001",
"client_sku": "SKU-01",
"on_hand": 2523,
"available": 2423,
"reorder_point": 80
}
]
}
}
order.status_changed
24/8/2569 14:44:32
| เลขที่ในคลัง | SF-202608-00041 |
|---|---|
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-000915 |
| สินค้าที่จ่ายออก | HOM-3001 × 2 |
{
"id": "evt_7dcb744c7879a1e2df6d38bc",
"event": "order.status_changed",
"created_at": "2026-08-24 07:44:33",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"order_no": "SF-202608-00041",
"external_ref": null,
"client_code": null,
"status": "fulfilled",
"document_type": "shortfall",
"transaction_no": "IVT-202608-000915",
"fulfilled_at": "2026-08-24T07:44:33.560Z",
"lines": [
{
"sku": "HOM-3001",
"product_name": "ผงซักฟอกสูตรเข้มข้น 900 ก.",
"quantity": 2,
"lot_no": null,
"expiry_date": null,
"warehouse_code": "BKK",
"location_code": "BKK-A-02-R01-S01-B01"
}
],
"previous_status": "pending"
}
}
order.fulfilled
24/8/2569 14:44:32
| เลขที่ในคลัง | SF-202608-00041 |
|---|---|
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-000915 |
| สินค้าที่จ่ายออก | HOM-3001 × 2 |
{
"id": "evt_69fa44db2b1d41360f9401a3",
"event": "order.fulfilled",
"created_at": "2026-08-24 07:44:33",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"order_no": "SF-202608-00041",
"external_ref": null,
"client_code": null,
"status": "fulfilled",
"document_type": "shortfall",
"transaction_no": "IVT-202608-000915",
"fulfilled_at": "2026-08-24T07:44:33.560Z",
"lines": [
{
"sku": "HOM-3001",
"product_name": "ผงซักฟอกสูตรเข้มข้น 900 ก.",
"quantity": 2,
"lot_no": null,
"expiry_date": null,
"warehouse_code": "BKK",
"location_code": "BKK-A-02-R01-S01-B01"
}
]
}
}
order.created
24/8/2569 14:44:32
| เลขที่ในคลัง | SF-202608-00041 |
|---|---|
| สถานะ | pending |
| จำนวนบรรทัด | 1 |
{
"id": "evt_c7b23f1b88b2f679ac7c35e0",
"event": "order.created",
"created_at": "2026-08-24 07:44:33",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"order_no": "SF-202608-00041",
"document_type": "shortfall",
"external_ref": null,
"status": "pending",
"line_count": 1
}
}
stock.updated
24/8/2569 14:44:32
| เลขที่ในคลัง | ON-260824-0004 |
|---|---|
| เลขที่รายการสต็อก | IVT-202608-000914 |
| ยอดคงเหลือล่าสุด | HOM-3001: คงเหลือ 2525 · พร้อมขาย 2425 |
| เหตุผล | order_fulfilled |
{
"id": "evt_caa6990a0c7f87af5f210632",
"event": "stock.updated",
"created_at": "2026-08-24 07:44:33",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"reason": "order_fulfilled",
"order_no": "ON-260824-0004",
"client_code": null,
"transaction_no": "IVT-202608-000914",
"items": [
{
"sku": "HOM-3001",
"client_sku": "SKU-01",
"on_hand": 2525,
"available": 2425,
"reorder_point": 80
}
]
}
}
order.fulfilled
24/8/2569 14:44:32
| เลขที่ในคลัง | ON-260824-0004 |
|---|---|
| เลขที่ของ OMS | E2E-ORDER-57473116 |
| สถานะ | fulfilled |
| เลขที่รายการสต็อก | IVT-202608-000914 |
| สินค้าที่จ่ายออก | HOM-3001 × 1 |
{
"id": "evt_f000a1fd6f8fa5df6f431916",
"event": "order.fulfilled",
"created_at": "2026-08-24 07:44:33",
"company_id": 1,
"client_id": null,
"attempt": 1,
"data": {
"order_no": "ON-260824-0004",
"external_ref": "E2E-ORDER-57473116",
"client_code": null,
"status": "fulfilled",
"document_type": "online",
"transaction_no": "IVT-202608-000914",
"fulfilled_at": "2026-08-24T07:44:33.259Z",
"lines": [
{
"sku": "HOM-3001",
"product_name": "ผงซักฟอกสูตรเข้มข้น 900 ก.",
"quantity": 1,
"lot_no": null,
"expiry_date": null,
"warehouse_code": "BKK",
"location_code": "BKK-A-02-R01-S01-B01"
}
]
}
}
POST / รับ webhook · ลายเซ็นผ่านตอบ 200 · ไม่ผ่านตอบ 401GET /events ดูข้อมูลทั้งหมดเป็น JSONscripts/demo/webhook-echo/_worker.js — นำไปดัดแปลงใช้กับระบบจริงได้ทันที