#gto-tm_api

1 messages ¡ Page 1 of 1 (latest)

twin timberBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1281651887439089790

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

median berry
#

from_subscription is the only way to create a Subscription Schedule for an existing Subscription. That will create a phase[0] automatically, which represents the existing configuration of the Subscription (e.g. same billing cycle, same invoice timing, same Invoice Items, etc.)

#

From there, you can create a new phase[1] for whatever comes after phase[0]

upper storm
#

yes, i need to set phase[0] start_date to the past. for proration calculations

#

proration_date also cant be set to the past either

median berry
upper storm
#

can i backdate existing subscription ?

median berry
#

Yup! The final paragraph of those docs talks about that

upper storm
#

i tried to set proration_date to earlier than first phase of subscription schedule but it didnt work. it said i can only set it within the current phase start and end

#

i setup subscription schedule with phases, then i tried to modify subscription proration_date but it didnt really work , it said it needs to be within start and end of the phase

median berry
#

Right, because you can only backdate within the existing billing period. There's no way to backdate an existing subscription to any date that's earlier than the existing billing period. The only way you could do that is if the Subscription hasn't been created already