Can somebody help me out with sending refund action in HTTP POST.
Del, it is possible to work with refunds in the Payments table via the Data Service in XML-RPC. We do not currently have a mechanism to do so in REST.
Actually, the payment table is a read only object and you cannot add rows to it to create payments or refunds. You can use the invoice object to add a manual payment with a payment type of âadjustmentâ and a description that describes it as a refund.
Thanks, @John_Borelli I am looking for when infusion order set to refund.
Is there any way I can Get that Call? So I can Refund the order in E-commerce.
There is no method to directly submit refunds. As stated, using the adjustment and naming it refund is the only real way to accomplish that through the api.
Can you please provide me example code not the one is listed here xml-rpc - Keap Developer Portal
i think you miss understood me.
Let me try to explain again.
When in infusion an order is refunded, then mark in E-commerce same order as refunded.
So i need to send a HTTPS Request in Infusionsoft when ever that action is triggered.
Thatâs what i need to know.
How can i do this in infusionsoft
How is the order getting refunded then? Manually in IS?
Yes, order refunded happens manually in infusionsoft.
Iâm not aware of a trigger or action set within Infusionsoft that would let you do this. The only thing that I might suggest is a nightly process that uses the api to read all order activity for the day and registers/tracks any refunds that way.
Can you maybe help me out with some example code in php for all order activity for the day and registers/tracks any refunds
We actually just added RestHooks for the âinvoice.payment.addâ, which should indicate changes that include either payment or refund actions. You would still need an intermediary system to catch the RestHook message and then post to your other system, however.
Where can i find this in the doc?
I found a solution, is there a API Call to get all invoiceID from contactD
use query on the invoice table for the ContactId and youâll get all invoices that the contact id has assigned to it.
Where can i find the example code ? xml-rpc - Keap Developer Portal
Thanks a lot for sending me on the right track, @John_Borelli and @TomScott .