> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wizcommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Event schema

The webhook request is a `POST` request with the following payload:

```json theme={null}
{
  "id": "unique_event_id",
  "event": "event.type",
  "timestamp": "2025-01-01T00:00:00.000Z",
  "data": {
    "id": "unique_id"
  }
}
```

* `id`: Unique identifier for the webhook event.
* `event`: The type of event that occurred.
* `timestamp`: The time the event occurred.
* `data`: The data associated with the event.

### List of all events

| Event Name                        | Description                                                                                                                                 |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `customer.created`                | This event is triggered when a customer is created.                                                                                         |
| `customer.updated`                | This event is triggered when a customer is updated. Creating, updating, or deleting a customer contact or address also triggers this event. |
| `customer.deleted`                | This event is triggered when a customer is deleted.                                                                                         |
| `customer.payment_method.created` | This event is triggered when a customer payment method is created.                                                                          |
| `customer.payment_method.updated` | This event is triggered when a customer payment method is updated.                                                                          |
| `customer.payment_method.deleted` | This event is triggered when a customer payment method is deleted.                                                                          |
| `order.created`                   | This event is triggered when an order is created.                                                                                           |
| `order.updated`                   | This event is triggered when an order is updated.                                                                                           |
