#kanonhian

1 messages · Page 1 of 1 (latest)

timid sandBOT
last tulip
#

hi! yes, you'd have to modify the existing SubscriptionSchedule object(you can't edit the Subscription itself to set cancel_at_period_end). So you'd have to update the Schedule in a way that reflects what you want (e.g remove all the future phases and pass end_behaviour:cancel)

slender flume
#

Hi and thanks for the quick response

#

Let me put an example

#

I have a subscription valid until 12-31-2022. Yesterday I scheduled a cancelation to 01-11-2022, but today I decided to change it to 01-12-2022.
Should I check and possibly delete all cancelations before 01-12-2022?

#

Oh I think I get it. Everything is packed in the phases object of the subscription Scheduled Object. Is that correct?

last tulip
#

yes

#

you need to use the SubscriptionSchedule API to manage this in code.

slender flume
#

I see

#

thanks veru much and have a nice day

#

very