Discussions

Ask a Question
Back to All

Can't cancel a Subscription Order using API

Hello! I have some subscriptions that were originally created through Clickfunnels pages. I'm building a feature in my application to allow users to cancel their subscriptions.

I've successfully integrated the API and can retrieve order details using a GET request with the order ID. However, I'm having trouble canceling these subscriptions. I've followed the documentation and tried both PUT and PATCH requests to update the service_status to canceled, but nothing changes.

I've also tried including the canceled_at, churned_at, and cancel_reason fields in the request, but still no success.

One detail to mention: the order I’m testing this with was created from a preview page (a test order). Could this be why the cancellation doesn’t work? Does this feature only work with real production orders?

Thanks in advance for any help!