#alex_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/1403326524240822359
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
They're set on a per product basis: features[subscription_update][products][][adjustable_quantity]
For some reason that's undocumented right now, I'll get on fixing that
But here's the corresponding param: https://docs.stripe.com/api/customer_portal/configurations/update?lang=curl&api-version=2025-07-30.basil#update_portal_configuration-features-subscription_update-products-adjustable_quantity
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
stripe billing_portal configurations retrieve bpc_1RCe6XHIHUW3tP8lPoxr1rpz --expand features.subscription_update.product (I got error message that it cannot be expanded)
It's products - https://docs.stripe.com/api/customer_portal/configurations/object?lang=curl&api-version=2025-07-30.basil#portal_configuration_object-features-subscription_update-products
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
stripe billing_portal configurations retrieve bpc_1RCe6XHIHUW3tP8lPoxr1rpz --expand features.subscription_update.products
Thanks I just found it. I understand it's only defined there in the billing customer portal, And not on the product object, correct? I'm asking because it would make perfect sense to me to just fetch the list of products and each of them would have a hard written min and Max values
Correct it's configured on the portal config
Your way might work better for your use case, but seems pretty inflexible for others
(what if I want users to have differing levels of quantity min/max on the same product?)
The same way that Checkout works, you configure the quantity limits per session