Skip to main content
WEBHOOK
EVENTS.CUSTOMER.DELETED
{
  "customer": {
    "id": "cust_7LvqCsUB9c8WyFP8JaLXchtF",
    "name": "Lionel Johnson",
    "email": "lionel-johnson@lion.io",
    "object": "customer",
    "address": {
      "city": "Nottingham",
      "state": "England",
      "line_1": "Hammer Street 123",
      "country": "United Kingdom",
      "postal_code": "XX-ZZZ"
    },
    "loyalty": {
      "points": 301,
      "campaigns": {
        "Loyalty programme": {
          "points": 301,
          "loyalty_tier": "ltr_0e30613ad01f044516",
          "referred_customers": 0
        }
      },
      "referred_customers": 0
    },
    "summary": {
      "orders": {
        "total_count": 1,
        "total_amount": 2500,
        "average_amount": 2500,
        "last_order_date": "2024-02-01T10:42:59.676Z",
        "last_order_amount": 2500
      },
      "redemptions": {
        "gift": {
          "amount_to_go": 0,
          "redeemed_amount": 0
        },
        "loyalty_card": {
          "points_to_go": 301,
          "redeemed_points": 0
        },
        "total_failed": 0,
        "total_redeemed": 1,
        "total_succeeded": 1,
        "total_rolled_back": 0,
        "total_rollback_failed": 0,
        "total_rollback_succeeded": 0
      }
    },
    "birthdate": "1974-01-02",
    "referrals": {
      "total": 0,
      "campaigns": []
    },
    "source_id": "lionel-johnson_deleted2024-02-01T11:16:40.918Z",
    "created_at": "2024-02-01T10:42:59.594Z",
    "updated_at": "2024-02-01T11:16:40.934Z",
    "description": "Famous",
    "system_metadata": {}
  }
}
The EVENTS.CUSTOMER.DELETED event indicates that a customer was successfully deleted in Voucherify. This event is used in a webhook configured in Project settings in Voucherify dashboard.
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Introduction to webhooks page.

Body

application/json

Event data object schema for customer.deleted.

customer
object

Customer details with details about loyalty and referral programs.

Response

Webhook accepted