#Papsi-changeprices
1 messages · Page 1 of 1 (latest)
there really isn't an easy way to do this, you'll have to loop through and update all the subscriptions
when creating a new subscription, can I indicate a particular billing cycle date?
yes you can : https://stripe.com/docs/api/subscriptions/create#create_subscription-billing_cycle_anchor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
for my case, I will loop through old subscriptions, then copy all parameters, then I will just replace the price ?
i'm not sure why you need to copy all parameters, but you can just replace the price : https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
but what about the dates? Like when the subscription created, when the period end and start?
could you elaborate a bit more on the expected behaviour? i.e. after the subscription updates, what are you expecting for the period start and end dates to be