#alex_api

1 messages ¡ Page 1 of 1 (latest)

maiden fractalBOT
#

👋 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.

swift cloak
#

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

#

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

#

stripe billing_portal configurations retrieve bpc_1RCe6XHIHUW3tP8lPoxr1rpz --expand features.subscription_update.products

wooden hatch
#

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

swift cloak
#

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