Docs
api, addons
41997969
2016-11-30T10:51:17Z
2023-03-13T10:15:40Z
2768
8
11
223536
How do I remove/change/add an addon to a subscription that already has one or more addon via APIs (PC 1.0)?
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”.