#abhishek-kumar_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1224971237495799830
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- abhishek-kumar_subscription-one-time-item, 5 days ago, 57 messages
- abhishek-kumar_docs, 6 days ago, 68 messages
- abhishek-kumar_docs, 6 days ago, 16 messages
I see there's an api to create subscription
but I'm guessing it'd create a new subscription rather than updating the existing one with new pricing items
There are around 37 customers in our pro plan
and we want to update the subscription items for them at once without having to update manually from the stripe dashboard
You seem to be calling POST /v1/subscription_items/price_1P1MnvCi7CktLX0YKbCMeyG8/usage_records That's not a valid API path
price_xxx is a Price object, not a Subscription Item (si_xxx)
alright, how can I add a new pricing item in an existing subscription then?
I'm unable to find any documentation for this
Although manually able to update the subscription and then add product -> pricing and update the subscription
but it's tedious for 37 subscriptions
can you help me out here?
oh wait, I'm sorry I see the pricing is updated but the subscription id for usage record is wrong
๐ง
I'll try with correct id once