#jbergius-customer-portal
1 messages ยท Page 1 of 1 (latest)
๐ Happy to help
Do you mean that when you create a product, you want to add the newly created product as an option in the customer portal?
Exactly. My hope is that I also in that call can specify restrictions on each product
It's possible to do if using API to create Customer Portal: https://stripe.com/docs/billing/subscriptions/integrating-customer-portal?platform=API
After creating a product, include the newly created product in features.subscription_update.prices in customer portal configuration: https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products-prices
And ensure features.subscription_update.enabled is set to true
But if the customer portal is already created, can I add a product to it afterwards?
You can update to existing customer portal configuration: https://stripe.com/docs/api/customer_portal/configurations/update#update_portal_configuration-features-subscription_update-products
Perfect, many thanks!
No problem! Happy to help ๐
Am I also able to add restriction to the products I add!?
What kind of restriction?
Restrict quantity updates for example
For the product I've just added to the customer portal
After checking, quantity restriction is only available in dashboard, but not API
Aah bummer