Skip to main content
WEBHOOK
EVENTS.CUSTOMER.UPDATED
{
  "customer": {
    "id": "cust_A9f32Khs91",
    "name": "Ariana Patel",
    "email": "ariana.patel@example.org",
    "object": "customer",
    "address": {
      "city": "Toronto",
      "state": "Ontario",
      "line_1": "125 Maple Leaf Road",
      "country": "Canada",
      "postal_code": "M4B 2L1"
    },
    "loyalty": {
      "points": 45,
      "campaigns": {
        "holiday_2025": {
          "redeemed_points": 10,
          "points_to_go": 40
        }
      },
      "referred_customers": 1
    },
    "summary": {
      "orders": {
        "total_count": 3,
        "total_amount": 24900,
        "average_amount": 8300,
        "last_order_amount": 9100
      },
      "redemptions": {
        "gift": {
          "amount_to_go": 0,
          "redeemed_amount": 0
        },
        "loyalty_card": {
          "points_to_go": 5,
          "redeemed_points": 40
        },
        "total_failed": 0,
        "total_redeemed": 1,
        "total_succeeded": 1,
        "total_rolled_back": 0,
        "total_rollback_failed": 0,
        "total_rollback_succeeded": 0
      }
    },
    "birthdate": "1990-07-14",
    "referrals": {
      "total": 1,
      "campaigns": [
        "summer_savings_2024"
      ]
    },
    "source_id": "ariana-patel",
    "created_at": "2024-09-21T13:12:44.000Z",
    "updated_at": "2025-01-28T16:48:09.000Z",
    "description": "Subscribed newsletter user",
    "system_metadata": {}
  }
}
The EVENTS.CUSTOMER.UPDATED event indicates that a customer was successfully updated in Voucherify. This event is used in a webhook configured in Project settings in Voucherify dashboard. The following API endpoints can update customer data, but don’t trigger customer update webhooks:
  • POST v1/customers/metadata/async
  • POST v1/customers/bulk/async
  • POST v1/customers/importCSV
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
customer
object

Customer details with details about loyalty and referral programs.

Response

Webhook accepted