product api for upload and delete