#jhonsalazar1623

1 messages · Page 1 of 1 (latest)

rustic turtleBOT
golden ruin
#

Hi, there is no bulk update API call you can make. You'd need to make these call per subscription. Please be aware that there are rate limits, https://stripe.com/docs/rate-limits so you'd want to take that into consideration.

proven shard
#

Ok, no problem, but how do I update subscriptions that already exist?

#

or

#

how can I update a subscriptions when the prices of the product related to those subscription is updated?

#

Which is the best option ?

golden ruin
#

You can use the Update a Subscription API, https://stripe.com/docs/api/subscriptions/update When you say 'the prices of the product related to those subscription is updated' what do you mean? Are you meaning that they would need to move to a different price? Or, something else?

#

The reason I ask is that we have an API to update the Price, https://stripe.com/docs/api/prices/update. You can only update a few things on a Price but the way you worded the ask I am now unclear what you meant with that

proven shard
#

ok

#

first : I create a product with prixce $ 12, ok

#

second: my custmer subscribed to the product monthly subscription $12

#

third: I update the subscription price from $12 to $15

#

How can I update the subscription price next month?

golden ruin
proven shard
#

but my use case es different

#

in this documentation talks : When a customer changes their subscription

#

In my use case, I change the price, not my customer.

golden ruin
#

hhmm, it is highly likely that the customer would agree to make the changes right? In this case, you're making the call to update the Subscription on your server side. What I provided is still what you need.

#

You can update the subscription with the new price using the above API, and guidance.

proven shard
#

ahhh ok

#

It's the same

#

thanks!

golden ruin
#

Sure!

proven shard
#

I was thinking about removing the current subscription and creating a new subscription with the new prices.

golden ruin