How to say "this?" interjection in chinese?
Yes, 什么？ 这个？ is correct.

You could also say something like:

你说的是这个？ (are you talking about this?) to clarify that what they're talking about is in fact the candy.