What is Store ID in Enterprise Store?

Hello!

What is it Store ID used for? As far as I understand, you get a Store ID when register your Enterprise Store proxy. Is it associated with proxy domain name/IP address? So it needs to be updated if proxy domain name/IP is changed? How is it possible to work with Store ID in offline mode?