02-06-2023 09:50 PM
I am working on an C#.net application. I am having trouble finding the following information to make my Application to work. The following information are:
Developer ID
Certificate ID not sure if is the same Cert ID
Application ID
API Service URL
Sign-in URL
EPS URL
SITE
Token
Do the token change each time I am using it? Is there another way to obtain more permanent token? The reason I ask is because when I got to SandBox info I notice there is a token button and I click on it and it shows active for few hours.
Can Someone point me to the correct location to obtain the information above list?
02-06-2023 11:15 PM
As a developer, you will have your Sandbox keys and your Production keys. These are unique to you as a developer.
Below is the link to request your eBay developer keysets, or Application Keys.
https://developer.ebay.com/my/keys
Developer - keyset
The API service URL would be the entry point that eBay provides for accessing the API that you plan to use. Each API will have a different access URL that your server will use to gain access to eBay's server. For instance, access to the Shopping API would be: https://open.api.ebay.com/shopping
Each API will have a different URL address.
I don't know what the "Sign-in URL" is.
The EPS URL might be the link to eBay Picture Services (EPS) for uploading images from your server to eBay's servers. Generally, if you want to upload photos to EPS and then use them in subsequent listings, you would call eBay's site hosted pictures. After the pictures are uploaded, they are typically referred to as PicURL in other uploaders.
https://developer.ebay.com/devzone/xml/docs/reference/ebay/uploadsitehostedpictures.html
The SITE is the eBay site where you will upload your listings. The site is either numerical or textual, depending on the call. Selecting a site determines a number of different parameters, including currency, format, and language.
https://developer.ebay.com/devzone/xml/docs/reference/ebay/types/sitecodetype.html
Token, as you suspect, is special. Depending on the call, the token may expire rather quickly and will require refreshing. I work only with PHP, and have written a module to create and update a token within PHP that might be helpful.
02-07-2023 04:50 PM
Hi,
Thanks for your reply. Just for clarification:
Developer ID = Dev ID (from picture)? Or is my username for accessing eBay developer account?
Certificate ID not sure if is the same Cert ID = Cert ID {from picture) OK
Application ID = App ID (from picture) OK
API Service URL = is either:
https://api.sandbox.ebay.com/ (for sandbox (test evn.))
https://open.api.ebay.com/ (for prod (prod evn.))
do I need "shopping" at the end of the url?
you state that this world would change depending which endpoint I will be accessing?
I am interesting in fulfillment. Should I change shopping for fulfillment or like this:
"/sell/fulfillment/v1/order"
Sign-in URL = https://signin.ebay.com/ws/eBayISAPI.dll?SignIn I found this in the internet but I am not sure
is correct?
EPS URL : uses eBay Picture Services. I need to use the following call: UploadSiteHostedPictures .
Furthermore, supports only the XML Trading API (the SOAP Trading API is not supported). You can test this call in the Sandbox environment, according to the link you provided.
I went to API Explorer and it shows the following url:
"https://api.sandbox.ebay.com/ws/api.dll" should I use " /ws/api.dll " ?
SITE = "US" or is "0" ?
Token = Should I use OAuth or Auth'n'auth ? Which will be permanent token? I don't want to update each time
I am using my app to access eBay api.
Cloud you please clarify this for me?
Thanks for responding.
02-07-2023 05:13 PM
Hi,
I wanted to add this. I found this online but I am not sure if this is correct:
string apiServerUrl = "https://api.ebay.com/wsapi";
I am assuming that this URL is prod. so for sandbox would be
string apiServerUrl = "https://api.sandbox.ebay.com/wsapi";
which one is the correct url ? This one or on my previous post?