Added the ability to modify item properties (purchased and priority status) and also added an API for this. (Frontend calls backend API via JS/XMLHttpRequest)