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:onAfterCsvCustomerUpdated event

Triggered by /modules/shop/models/shop_customercsvimportmodel.php
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onAfterCsvCustomerUpdated(array $fields, int $id)
$fields array specifies a list if imported customer fields.
$id int specifies the customer identifier.
Triggered after an existing customer record has been updated from a CSV file. The event handler should accept two parameters - the array of imported fields and the customer identifier.
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onAfterCsvCustomerUpdated', $this, 'csv_customer_updated');
}

public function csv_customer_updated($fields, $id)
{
  // Do something
}