I would like to re-direct my customer to the Edit Subscription (Customer Portal) page directly from my website. What API call can I use?

Modified on: Wed, 19 May, 2021 at 1:25 AM

You can use the edit_subscription _URL to redirect your customer to the edit subscription page in the customer portal.


The syntax of the edit_subscription_URL is:


https://your-domain.chargebeeportal.com/portal/permalink/subscriptions/{subscription_id}/edit


Here is an example of what the complete URL would look like:


https://flixster.chargebeeportal.com/portal/permalink/subscriptions/HvDPsACPqEnmg7TA/edit


While this URL is available to all our merchants, the workflow differs for merchants who have opted for a single-sign-on (SSO) model for their customers to access the customer portal vs. those who have opted for an authentication model (with a username and password) for their customers to access the customer portal.


If you are using the authentication model, your customers will be able to access the edit subscription page directly, simply by clicking on the URL. If you are using the SSO model, on the other hand, you will need to pass the edit_subscription_URL as a forward_URL parameter.  


Points to note:

  • You can use the edit_subscription_URL to redirect to the edit subscription page from anywhere on your website.

  • The edit_subscription_URL makes use of the customer’s subscription id, available on the customer’s subscription details page on your Chargebee web interface. 




Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×