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

Triggered by /modules/shop/controllers/shop_orders.php
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onBeforeDeleteShippingTrackingCode(int $order_id, Shop_OrderTrackingCode $code)
$order_id int specifies the order identifier
$code Shop_OrderTrackingCode specifies the tracking code
Triggered before a shipping tracking code is deleted. The event handler should accept two parameters - the order identifier and the Shop_OrderTrackingCode object, representing the tracking code.