Api Pull For Tracking Number In Order Complete Email?

Hi guys!

Pretty new to API and how to pull information from websites.

I'm currently looking into how to get the tracking number for an order sent in the order complete email.

I know that we are able to achieve this by sending the customer a shipping notification, however, we're trying to have these emails sent to a database that we have set up to track outgoing orders with our warehouse.

Could anyone tell me what code I would need to input into the order complete emails to achieve this? Or even an alternative means of having these details sent through to the database?



There are hooks in the shipments area that can b e used to capture the desired info and store it in your own DB table. You could then have a small utility that would convert that to a CSV or other format for you to import into your tracking application.