store api completed with validations