loyalty_profile/updated

Triggered when a customer's points/credits, loyalty status or date of birth (DOB) is updated. Returns the latest customer profile snapshot.

Event Type

loyalty_profile/updated

Webhook Payload

{
  "id": 7343536570439,
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "dob": "06-30",
  "dob_last_updated_at": "2024-01-15T10:30:00Z",
  "accepts_marketing": false,
  "orders_count": 0,
  "verified_email": false,
  "total_spent": 0,
  "shopify_tags": [],
  "loyalty_status": "member",
  "loyalty_status_last_changed_at": "2024-01-15T10:30:00Z",
  "points_tally": 56348,
  "credits_tally": "0.0",
  "referral_url": "https://shop.com/ref/ABC123",
  "referral_code": "ABC123",
  "vip_tier": {
    "id": 1,
    "name": "Gold",
    "threshold": 10000,
    "perks": [],
    "created_at": "2024-01-01T00:00:00.000Z",
    "updated_at": "2024-01-01T00:00:00.000Z"
  },
  "points_expire_at": "December 31, 2024",
  "remote_updated_at": "2024-01-15T10:30:00Z",
  "event_type": "loyalty_profile/updated"
}

 

Payload Fields

FieldTypeDescription
idIntegerCustomer ID
emailStringCustomer email address
first_nameStringCustomer’s first name
last_nameStringCustomer’s last name
dobDate or nullCustomer’s date of birth, if provided
accepts_marketingBooleanShopify email subscriber status (true if opted in)
orders_countIntegerTotal number of orders placed
verified_emailBooleanWhether the customer’s email address is verified
total_spentFloatTotal amount the customer has spent
shopify_tagsArray of stringsList of Shopify tags associated with the customer
loyalty_statusStringCurrent loyalty program status (e.g. member, guest)
points_tallyIntegerCurrent points balance
credits_tallyFloatCurrent credits balance
event_typeStringAlways loyalty_profile/updated for this webhook