Where is the membership id?
Go to Membership > Find Memberships and perform a search.
Select All XX records  
From the action menu select Export members
Choose Select fields for export and Continue


You can then choose to export the membership ID, membership type, membership start date (all of which are needed to update a membership) and contact ID or Display Name or whatever else you need to match the memberships in the database to your external list of memberships.