As per the other posts any dealer can tell you from the reg or VIN number.
Or else logon to bmw connected that will show service pack dates and any other electronic packs such as map updates etc.

You'll get a code in idrive to link the car to your account. The mybmw app will let you lock the car and check it's location with the same login details.

Did you get something starting with M ??