In my app I want to give the user the opportunity to choose the site to explore. What I do is showing a list of the existing sites (using a String array) and then get the SiteCodeType with the valueOf() method of the enum.
This value works with some APIs, but what I need is actually the specific ID of the site, and I can't find out how to get it. I hoped to get it somewhere using the SiteCodeType I already have.
I saw both GlobalID and SiteID but I don't understand how to work with them.
https://developer.ebay.com/DevZone/merchandising/docs/CallRef/Enums/GlobalIdList.html https://developer.ebay.com/DevZone/merchandising/docs/Concepts/SiteIDToGlobalID.html