This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onCustomerUpdated event

Triggered by Shop_Customer
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onCustomerUpdated(Shop_Customer $customer)
$customer Shop_Customer specifies the customer object.
Triggered after a customer is updated. Usage example:
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onCustomerUpdated', $this, 'customer_updated');
}

public function customer_updated($customer)
{
  if ($customer->fetched['first_name'] != $customer->first_name)
    // Do something
}