# ticket.buyer.erased

HTML: https://www.app2email.com/docs/api/webhooks/ticket.buyer.erased · Index: https://www.app2email.com/docs/api/llms.txt

A buyer's ticket data was erased on request.

Group: Tickets-and-Pay. Header `X-App2email-Event: ticket.buyer.erased`. Inside the envelope `{id, type, created, number, test?, data}` ([envelope, headers, signature](https://www.app2email.com/docs/api/webhooks.md)). Every webhook of the number gets every number event: filter by `type`.

## data

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data.contact` | string | yes | The erased buyer, in full, so that your other systems can erase their copy. |
| `data.counts` | object | yes | What was erased or anonymised. |
| `data.counts.orders` | integer |  |  |
| `data.counts.tickets` | integer |  |  |
| `data.counts.holds` | integer |  |  |
| `data.counts.waitlist` | integer |  |  |
| `data.counts.wallet_devices` | integer |  |  |
| `data.timestamp` | string | yes |  |

## Samples

### erase

```json
{
  "id": "evt_Tkt3k9m2Lw8Rt5Yp1Zs08",
  "type": "ticket.buyer.erased",
  "created": "2026-11-06T01:00:00.000Z",
  "number": "4976659348270",
  "data": {
    "contact": "61412345678",
    "counts": {
      "orders": 1,
      "tickets": 2,
      "holds": 0,
      "waitlist": 0,
      "wallet_devices": 1
    },
    "timestamp": "2026-11-06T01:00:00.000Z"
  }
}
```

Send it to your URL: https://www.app2email.com/docs/api/webhooks/tester?type=ticket.buyer.erased
