#-reduce-_api

1 messages ¡ Page 1 of 1 (latest)

plush sirenBOT
#

👋 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/1313424711761526795

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

sleek turtle
eternal acorn
#

Okay and that will remove this from subscription and leave only one item so the price will be lower right?

#

I need to iterate over all subscriptions and check if subscription has this subscription item with product that i want to remove or there is any easier way to do this?

sleek turtle
#

No there's no batch API for subscription update, you need to update one by one

eternal acorn
#

okay thank You. And the lower price will be applied since next billing period?

sleek turtle
eternal acorn
#

thank You

#

hmm still have a Question Can I?

sleek turtle
#

Sure

plush sirenBOT
eternal acorn
#

I created subscription with two items on test environment and deleted unnessesary item with stripe.SubscriptionItem.delete("si....")
and next Invoice now its for value 0 and should be 290

#

did I something wrong ?

thin cypress
eternal acorn
#

Okay so how can I delete subscription item to leave this 290 on next invoice?

thin cypress
eternal acorn
#

okay I will try and let You know one sec

#

yep that worked