#megerbran
1 messages · Page 1 of 1 (latest)
Hi 👋
What do you mean exactly?
Hi, a client just message me he said he want to change all his existing user subscription plan?
Okay, what about the Stripe APIs are you having questions about?
I know there is an existing api for multiple subscription. I want to know if there is an api that can change existing user subscription plan.
He simply want multiple subscription to be applied to all it user automatically without any user intervention. I don't know if this is possible at all?
That is what brought me here
@polar star are you there?
Hi there's a lot of people here so it takes a little while
Ok
And yes you can use the Update Subscription API to programmatically update all the subscriptions for a given user: https://stripe.com/docs/api/subscriptions/update
Is it possible to update all user subscription programmatically
Sure. But one by one
You'd have to write code that iterates over the subscriptions for that customer
I think I found an approached, first retrieve all active subscriptions then loop over each one to make subscriptions update