Alex Rider gets shot at the end of "Scorpia Rising", the fourth book in the Alex Rider series by Anthony Horowitz.
He is shot by a character named Scorpia, who is a member of the criminal organization known as "The Department." This happens right after Alex and Scorpia's confrontation in the final chapter of the book.