On an iPhone open Settings > General > About.
To the right of “Model”, you’ll see the part number (MWHH2B/A) To see the model number, tap the part number
A code that starts with “A” should be shown
You can also search using the “model name”