The incident happened both inside and outside of Caffé Nero in Davygate at 12.32pm on Saturday (January 20).
North Yorkshire Police urge anyone who saw the incident to get in touch.
"We’d particularly like to hear from anyone who saw any part of the incident or if any weapons were seen," a force spokesperson said.
YOU’LL FIND MORE ON THIS STORY AND OTHERS AT www.yorkpress.co.uk OR PICK UP YOUR COPY OF THE NEWSPAPER ITSELF AVAILABLE SIX DAYS A WEEK AT YOUR LOCAL NEWSAGENT