The officer was in his Audi when a suspect walked up and pulled a gun at Macombs Place and W 154th Street.
The officer did not comply with the possible carjacking and the suspect, joined by an accomplice, opened fire.
The officer was not injured, but his Audi was struck.
The suspects, described only as males wearing dark clothing, fled in a vehicle.
No arrests have been made.
ALSO READ | Fox News Christmas tree set on fire in Midtown Manhattan
* Get Eyewitness News Delivered
* More Manhattan news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube
Submit a News Tip