How do I remove/change/add an addon to a subscription that already has one or more addon via APIs (PC 1.0)?

Modified on: Mon, 13 Mar, 2023 at 3:45 PM

While using the Update a Subscription API, (PC 1.0) by default, the addons passed are appended to the existing list of addons for a subscription. In case a passed addon already exists for this subscription, quantity value is replaced. If you want to completely replace the addons for a subscription, pass replace_addon_list as "true".


Hence, if the subscription has 2 addons and you want to remove 1 addon, you would need to just pass the addon that you need to retain and define replace_addon_list parameter as "true". 

 


Did you find it helpful? Yes No

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