ส่งซ้ำรายการส่งหนึ่งรายการ
POSThttps://api.checkslip.com/api/webhooks/deliveries/{delivery_id}/redeliver
ใช้ API key
ส่ง payload เดิมทุก byte อีกครั้งด้วย webhook-id เดิม แต่ webhook-timestamp และลายเซ็นใหม่ แล้วเริ่มนับรอบส่งใหม่ · ส่งซ้ำได้ทั้งที่ FAILED (ส่งไม่สำเร็จ) และ SUCCEEDED (ส่งสำเร็จ) · ระบบของคุณได้ข้อความนี้อีกครั้ง ถ้าไม่ได้กันซ้ำด้วย webhook-id จะบันทึกซ้ำ · ต้องส่ง header Idempotency-Key · ค่าเดิมกับรายการเดิมได้ผลเดิมและไม่เข้าคิวซ้ำ · ส่งซ้ำไม่ได้เมื่อ endpoint ปิดอยู่ (ENDPOINT_DISABLED), ถูกลบแล้ว (ENDPOINT_DELETED) หรือข้อมูลของรายการถูกลบแล้ว (PAYLOAD_EXPIRED) หรือข้อความเดิมไม่ได้เก็บไว้ (PAYLOAD_INTEGRITY_MISMATCH) · ใช้ API key ที่มีสิทธิ์ webhook:manage
Parameters
| ฟิลด์ | ส่งทาง | ชนิด | จำเป็น |
|---|---|---|---|
delivery_id | path | string | ใช่ |
traceparent | header | string | ไม่ |
Idempotency-Key | header | string | ใช่ |
Responses
202 application/json
| ฟิลด์ | ชนิด | จำเป็น |
|---|---|---|
id | string | ใช่ |
message_id | string | ใช่ |
endpoint_id | string | ใช่ |
event_type | slip.checked | webhook.test | ใช่ |
request_id | string (uuid) | null | ใช่ |
status | PENDING | RETRYING | SUCCEEDED | FAILED | CANCELLED | ใช่ |
attempt_count | integer | ใช่ |
next_attempt_at | string (date-time) | null | ใช่ |
last_attempt_at | string (date-time) | null | ใช่ |
last_http_status | integer | null | ใช่ |
created_at | string (date-time) | ใช่ |
Error ที่อาจได้
400401403404409410422
error ในรูป Problem Details ดูรหัสทั้งหมดที่ รหัสข้อผิดพลาด