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?