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

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

Event handler signature

public void event_onAfterCsvCustomerCreated(array $fields, int $id)
$fields array specifies a list if imported customer fields.
$id int specifies the new customer identifier.
Triggered after a new customer record has been imported 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:onAfterCsvCustomerCreated', $this, 'csv_customer_created');
}

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