#jayy_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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/1402310734297432154
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, do you have the ID of a subscription that you saw this behavior with?
there's quite a few.. let me try and find one
this is one of the subscriptions:
req_PLik9sSWMF2ox8
req_tgeVzfjgVfTrct
Thank you, taking a look
Ah gotcha, so subscription schedule phases work differently than basically the rest of our API (đ¤ˇ) in that you need to define the full thing each time you specify it in an update call. So here because the discount isn't included in the phase, we assume you want to remove it (đ¤ˇ). To keep the discount, you will want to include it in the update in each phase you want it to apply to
awhhh crap .. so we need to add it to the subscription itself when we're updating it ?
or to the phases?
Yeah, there should be an existing ID for the discount on the subscription. You can include it in the phase's discounts property https://docs.stripe.com/api/subscription_schedules/update?api-version=2025-07-30.basil#update_subscription_schedule-phases-discounts-discount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.