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

Triggered by Shop_OrderItem
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onOrderItemUpdated(Shop_OrderItem $item)
$item Shop_OrderItem specifies the order item object.
Triggered when an order item is updated.
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onOrderItemUpdated', $this, 'item_updated');
}

public function item_updated($item)
{
  // Do something
}