I want to send order details directly to the shipping company directly from order page via their API, instead of filling info manually in their website.
How to add a button next to order and when it’s clicked the info will be sent via API.
and what code should I use to get the order details (name, address, phone …)
this is their API:
What is the best approach for this?