These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Cancel Renewal via API

Hello,

We're trying to allow members to change their member type or category using a custom form and would then like to rebill them using the API. However because they may need a new billing cycle, I need to cancel the renewal or reverse their invoice first. I've tried a few of the reversal operations on api/Invoice/_execute but all the ones I've tried return an "OperationNotAvailable" error. Is there a way to use the same functionality as the Cancel Renewal button on the member profile through the API?

Thanks!