I am using infusionsoft in wordpress. I want to get the order details/Invoice details through order id. what function is used to do so? I found a function
function getInvoiceId($orderId)
It fetches only InvoiceId. But I need all the order details like customer Id, price etc. help me please. Thanks in advance.