View events related to letters, cheques, postcards, and return envelopes. An event is created whenever a webhook is triggered. For example, if a webhook is created that listens to letter.updated events and the delivery status of a letter is updated, an event detailing the updated fields will get created.
Event Response
| Name | Type | Description |
|---|---|---|
| id | string | A unique ID prefixed with event_ |
| object | string | Always event |
| type | EventType | See event types |
| live | boolean | true if this is a live mode event else false |
| data | letter or postcard or cheque or return_envelope_order | The data of the order associated with this event |
| updatedFields | object or null | A record containing the updated fields of the order associated with the event |
