I’m trying to create credit memos via REST API and to do that I need the invoice related to a certain refunded sales order so that I can apply the credit memo on it, I looked the docs but I can only see how to retrieve all invoices, I also looked up the interface and apparently there’s no mention on the sales order anyway on the invoice page, if anyone has had a similar issue please advise !!
Solved
How to fetch the invoices related to a specified sales order via REST API
Best answer by Dmitrii Naumov
It’ll give you list of shipments and invoices for the specific SO.
Then you can retrieve the invoices.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.