#drprofsgtmrj
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you share the request ID for this? req_xxx
Theoretically, yearly to monthly subscription update should work just fine
req_WiwWqnzWqJISLY
So for context: there is an item on the sub that is a different interval
Does it not get deleted if I call the modify and input items?
Do the items only get added?
I believe if you don't pass in an id to items then the items are just added
https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
https://stripe.com/docs/api/subscriptions/update#update_subscription-items-id
Ohhh. So is there a way to override the subscription items completely?
Not that I know of, no
You could delete the subscription item separately I think
https://stripe.com/docs/api/subscription_items/delete
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oof. Ok
So Basically, if I want to completely override a subscription with new items, I have to delete the old items first?
๐ stepping in for my teammate! Depending on what you're trying to do exactly, you could also look into Subscription Schedules: https://stripe.com/docs/billing/subscriptions/subscription-schedules
So I guess we would just gave a new phase?
Right