Hello,
On Shipstation side, unless we are mistaken, we did not find any documentation to dynamically build a url link for the client.
Now, for specific case, meaning you have precise Delivery Service, and you know the Url link structure, example :
www.usps.com/trackingnumber=upsnumber012345
Then you can directly edit your shipstation file to create your own Url link see my screenshot as an example :
- Open your Shipstation plugin folder : YourWebsite\plugins\system\shipstation
-edit your shipstation.php, around line 1090, see my screenshot (click to enlarge) :
Note the check in order to create an url link in emails
ONLY FOR required delivery service.
if ($val['carrier'] == 'usps') {
$shipstation_str .= ''.
'<a href="https://www.usps.com/trackingnumber=upsnumber'.$val['track_number'].'" class="hika_cpanel_order_shipstation" '.
'style="margin: 0px;">'.
'<span>'.$val['track_number'].'</span>'.
'</a>';
}
// End the Html & close div tag :
$shipstation_str .='</div>';
Hope this will fits your needs
Regards