Hook actionAdminOrdersTrackingNumberUpdate

Information

After setting the tracking number for the order:

This hook allows you to execute code after the unique tracking number for the order was added

Hook locations:

  • back office

Hook type: action

Located in:

Parameters details

    <?php
    array(
      'order' => (Order),
      'customer' => (Customer),
      'carrier' => (Carrier)
    );

Call of the Hook in the origin file

Hook::exec('actionAdminOrdersTrackingNumberUpdate', [
                    'order' => $order,
                    'customer' => $customer,
                    'carrier' => $carrier,
                ], null, false, true, false, $order->id_shop)