Make it possible to set type and amount via qs

Note that cdn names are not supported yet. It doesn't update the qs
based on changes made either.