#urgo-subscriptions
1 messages · Page 1 of 1 (latest)
hi, proration is not a mode or a setting on the subscription
so setting it on creation doesn't mean anything, by default every update will prorate, if you don't want each update to prorate you need to pass proration_behavior:none on each Update API call, it's an option to that update call, not a setting on the Subscription itself.
ok that makes sense 🙂 if i want to update an existing subscription item then what API should i use that allows passing proration param as well?
currently i'm using the subscription item update API but that has no proration param.
subscription update API does not allow updating an item. only way i can see is somehow setting the exiseting items as deleted and then adding all items again.
or is there any simpler way?
subscription update API does not allow updating an item
it does, you passitems:[{id:si_xxxx, .....}]to change an existing item by referring to its ID
there's an example at https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
alright. thank you. this has been very helpful 