Your comments

Either email or an API / webservice interface would be useful, as I'd like to link Posted with my new order tracking system.

I'm not sure that auto-carrier detect function is required, as one could hard code the primary key for your database or the literal name you use for it...