I want to send all the billing details from a purchase (working with woocommerce) to an API via POST request. What's the best way/place to do so? I guess that using some sort of hooks inside my wp-content/themes/current_theme/functions.php
but I'm not sure at all about it.
Thanks in advance and sorry for my bad english.