#abhishek-kumar_api

1 messages ยท Page 1 of 1 (latest)

wheat turretBOT
#

๐Ÿ‘‹ 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.

rare dockBOT
#

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.

inland temple
#

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

rare dockBOT
trail ferry
#

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)

inland temple
#

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