Page 1 of 1

Question on DiscountPlanSubs DELETE

Posted: Mon Jun 05, 2023 6:38 pm
by beacondental
I see that DiscountPlanSubs DELETE is a new feature. When reading the online explanation, I had a clarification. Is this DELETE function such that API users are dropping the discount plan? Or is it deleting the discount plans in List.

Re: Question on DiscountPlanSubs DELETE

Posted: Tue Jun 06, 2023 9:07 am
by justine
beacondental wrote:
Mon Jun 05, 2023 6:38 pm
I see that DiscountPlanSubs DELETE is a new feature. When reading the online explanation, I had a clarification. Is this DELETE function such that API users are dropping the discount plan? Or is it deleting the discount plans in List.
Using DiscountPlanSubs DELETE, is essentially the same as clicking the 'Drop' button as seen in the UI here. This drops a Discount Plan subscriber from a Discount Plan.

You cannot delete a Discount Plan, you can only hide one. This can be done by using the upcoming DiscountPlans PUT (currently in development) and setting IsHidden to "true".