WebhookDelivery
One event sent, or to be sent, to a receiver.
Type: object.
| Name | Type | Description |
|---|---|---|
attempts required | integer | Attempts made so far. |
createdAt required | string (date-time) | When the event was queued. |
event required | string | The event: an order event or webhook.test. |
id required | string | The delivery id: id in the body and X-CompuDime-Delivery. |
state required | string | pending (waiting for its first attempt), failed (an attempt failed; the next one is at nextAttemptAt), delivered (your receiver answered 2xx), or dead (every retry failed; the store owner can send it again from the console). |
updatedAt required | string (date-time) | When the delivery last changed. |
deliveredAt | string (date-time) | When your receiver accepted it; absent until then. |
lastError | string | Why the last attempt failed; absent once delivered. |
lastStatus | integer | The HTTP status your receiver answered on the last attempt; absent when no answer came (a connection failure or a timeout). |
nextAttemptAt | string (date-time) | When the next attempt is due; absent once delivered or dead. |
orderId | string | The order it is about; absent on a test event. |
Other fields can appear later. Ignore the ones you do not know.