Adds store method for the api