Yes, a photo of what you have now might help. Otherwise we are totally guessing and there are LOTS of different types
And , at least to me, you are not clear what you actually want to replace, the whole hatch or just the latch. I AM guessing it is the latch.