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:
We have tried "PUT /subscriptions/{subscription_id}" with the following body to extend the subscription by 5 cycles, but it did not work:
- {
- "plan": {
- "plan_code": "MY_PLAN_CODE",
- "billing_cycles": 5
- }
- }
Please let us know which API to use for this.
Thank you.