To clarify, this is a question for Stripe (an online payment processing app) API.
I want to limit the max quantity of a product depending on the subscription. So, lets say I have sub_id_1 and sub_id_2. I want to limit sub_id_1 product quantity to have a maximum purchase of 3 items, while sub_id_2 to have a maximum purchase of 1 item.
I do not have any code to show since it is just a API problem, but from what I get from the docs, it is possible to alter the quantity of the product in a subscription. However, I am not sure if it is possible to limit the quantity instead.
I would appreciate any kind of answers, feedbacks, or suggestions!