How can i manage variable quantity ?

How can i manage variable quantity ?


let's imagine to sell to a customer mailboxes for $ 5 each one.
the customer can manage email from a administrator panel. so he can add/delete it when he want.
i have an api to recover the number of email boxes for the customer.

why in the quantity field of the recurrent invoice we can't put an "url" for retrieve a quantity value from external resources ?