Extending a Subscription via the API

Extending a Subscription via the API

Hello,

We would like to use the API to extend the number of billing cycles for a subscription, i.e. the equivalent of the following UI action:
https://www.zoho.com/in/subscriptions/help/subscriptions.html#extend-subscriptions

We have tried "PUT /subscriptions/{subscription_id}" with the following body to extend the subscription by 5 cycles, but it did not work:
  1. {
  2.     "plan": {
  3.         "plan_code": "MY_PLAN_CODE",
  4.     "billing_cycles": 5
  5.     }
  6. }
Please let us know which API to use for this.

Thank you.