If your app is in Apple Store you will find download link as below
https://itunes.apple.com/us/app/medzam-headache/id739652713?mt=8
From above link. 739652713 is the Apple Store ID.
You will not have AppStoreId If you are not having your App at Apple Store..
Hope it Helps you....!