#aixr-daniel_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/1333756903674744843
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, I need to setup a customer configuration for customer portal, as we need our team plans to only be able to swap between prices and products avilable to teams. I have this working correctly, but our team plans require a minimum of 2 quantity (seats).
Via the default stripe customer portal config via dashboard I can set min and max quantities. But on the customer configuration API there is nothing there to allow me to set this too.
hi there!
Via the default stripe customer portal config via dashboard I can set min and max quantities.
we are not very familiar with the Dashboard here on Discord. can you share a screenshot of this?
got it. I think that's a Dashboard-only feature, since I don't see this option in the API.
This is my config for the api
I need to be able to set a min quantity for this customer portal configuration via api
like I said, it's not possible with the API.
Ok and is it possible to delete a configuration once its been created by API?
you can update the configuration and set active: false https://docs.stripe.com/api/customer_portal/configurations/update
Ok and final question - what if I just leave those fields of quantity out from this configuration
Will it use the default config (the one configured in the dashboard?
Trying to figure out a work around here, rather than needing to code up all the updating a subscription logic on my end now just because stripe doesnt allow this basic feature ๐ฆ on api but does for no code (which shows the ability and need for it exsists)
Will it use the default config (the one configured in the dashboard?
I don't think so. but I recommend testing this in test mode to double check.
Do you work for stripe or are you just another developer?
I work for Stripe. why?
Just a weird way of talking to someone that works for stripe