---
updatedAt: 2025-06-09T20:02:10.000Z
agentTools:
  projectIndex: https://develop.yotpo.com/llms.txt
---

# Customer Anniversary

This event is triggered on the anniversary of a customer. This is great for sending an email to congratulate them and update them if they were awarded points or a coupon according to an existing Anniversary Campaign.

The Anniversary Birthday events will be triggered each day at 11 am UTC

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Important Attributes
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `email`
      </td>

      <td style={{ textAlign: "left" }}>
        The email address of the customer whose anniversary it is
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `perk.reward_points`
      </td>

      <td style={{ textAlign: "left" }}>
        If customer was gifted points, this is how many
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `redemption.reward_text`
      </td>

      <td style={{ textAlign: "left" }}>
        If customer was gifted a coupon, this is the coupon code
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `redemption_option.name`
      </td>

      <td style={{ textAlign: "left" }}>
        If customer was gifted a coupon, this is the discount name
      </td>
    </tr>
  </tbody>
</Table>

```json
{
    "topic": "swell/customer/anniversary",
    "name": "Swell Customer Anniversary",
    "email": "john.smith@gmail.com",
    "customer": {
        "total_spend_cents": 2500,
        "total_purchases": 1,
        "perks_redeemed": 5,
        "last_purchase_at": "2016-09-23T00:55:35.000Z",
        "email": "john.smith@gmail.com",
        "referred_by": "jane.smith@gmail.com",
        "points_earned": 450,
        "points_balance": 450,
        "points_expire_at": null,
        "first_name": "John",
        "last_name": "Smith",
        "last_seen_at": "2016-09-23T00:55:35.000Z",
        "third_party_id": "4055305025"
    },
    "perk": {
      "id": 2,
      "campaign_id": 4,
      "merchant_id": 1,
      "customer_id": 128,
      "reward_points": 0,
      "completed": false,
      "completed_at": null,
      "awarded": false,
      "awarded_at": null,
      "pending": false,
      "reversed": false,
      "reversed_at": null,
      "expired": false,
      "expired_at": null,
      "expires_at": null,
      "redemption_option_id": 152,
      "history_title": "Happy Anniversary",
      "created_at": "2016-09-23T00:47:40.000Z"
    },
    "redemption": {
      "id": 2,
      "created_at": "2016-09-23T00:47:40.758Z",
      "updated_at": "2016-09-23T00:47:40.758Z",
      "reward_text": "abc123",
      "approved": true,
      "approved_at": "2016-09-23T00:47:40.903Z"
    },
    "redemption_option": {
      "id": 149,
      "amount": 500,
      "name": "$5.00 Off",
      "description": "Get $5.00 off your next purchase for 500 points",
      "icon": "fa-dollar",
      "cost_text": "500 Points"
    }
}
```