#Mytras
1 messages ยท Page 1 of 1 (latest)
Hi Tarzan!I hope you are well!
what you're looking for is Subscription Schedules
I created automations for schedule subscriptions, but never dealt with changing prices after a while
I can see that in phases there is a end_date parameter
which I assume I will need to put the Unix time for when I want that phase to end
how the new phase would than start?
Also, Can normal subscription have phases?
or only scheduled subscriptions?
you can use iterations instead of end_date
only schedules have phases
ok
but i do not see any iterations, what do you mean by that?
cause my idea would be to create a phase.0.start_date and a phase.0.end_date, than do the same for phase1
would that work?
๐ stepping in here
Iterations indicate how many billing cycles the phase should last for
Hello
whats the parameter for iterations?
ok I have a couple of questions
the idea would be to set the first phase to stop after a certain amount of months, but phase 2 has to go indefinitively
is that possible?
Yep
So you can just set phase 2 for 1 iteration and then you set the Subscription Schedule to end_behvaior: release
That will then remove the Schedule and keep the Subscription on that Price that is in phase 2 indefinitely
If you are using a monthly Price then yes
yes
i mean the payments are done monthls
monthly
so just to be sure the code would be like this:
"phases[0][items][0][price]"= price_xxxxx
"phases[0][iterations]"=12
"phases[1][items][0][price]"= price_yyyy
?
or i did something incorrectly?
oh how do I do it unlimited?
"phases[0][items][0][price]"= price_xxxxx
"phases[0][iterations]"= 12
"phases[1][items][0][price]"= price_yyyy
"phases[1][iterations]"= 1
"end_behaviour"= release
?
like this?
or end_behvaior: release needs to be for phase 1?
end_behavior is top level like you have it
Yep all that looks right
I'd test it out
Using a test clock
what's that?
No you would need a new phase to change your Price
i meant, can I change items in different phases?
like
phase 0 prod_xxx
phase 1 prod_yyy?
Yep