#Giriraj
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
i doing like this
You'd update the Subscription directly: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
it's giving me this error
Yep, seems correct. What's the issue?
Yes, you're missing the id parameter of the si_xxx you want to update. That API call you've shared it just adding a new item
stripe.subscriptions.update(
'sub_xxxxxxxxx',
{
items: [
{
id: 'si_xxx',
quantity: 6
},
],
}
);