We are trying to use the API to update invoices in Wild Apricot. We have been able to Void invoices and Delete invoices, but so far unable to update an invoice. For instance, update the memo for the invoice. Or update the cost on the invoice.
There isn’t a pre-defined Make connection for updating an invoice that we can tell. But there is a PUT in the API documentation that looks like what we should be using, along with the Make Wild Apricot “Make an API Call”.
Can someone please point us in the right direction? What information do we pass to WA to make an update for a particular invoiceid?
As they mention here in the documentation, you need make an API call from the WA module to update the invoice, since it is a PUT request, I think you need to send the invoice object to the endpoint, so just copy the entire sample code, and get rid of everything except order details and memo/notes, and in order details change the things you want, invoice object are difficult when there are multiple products involved
I see noone has really helped you with this excellent question and I had it on my bookmarks to get back to you. I made a small video for you to describe the solution since that is much faster than typing it out.
Here’s a sample payload you can adjust for your use to modify an invoice with the PUT to /accounts/{{accountID}}/invoices/{{invoiceID}}