question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended asked

How to Open (directly link )my added item on Ebay .

Hi Ebay Team, This is victor and i'm a .net developer , in one of application i'm using Eaby APi to sell my items . for this i'm using .net SoapApi . Once i added my item on ebay (it return Unique itemid along with item details) i need a link to open directly from my application ( i won't search by itemid on Ebay site). Is there any api for this . please help me how can i do .. Thanks.
.NETsoapebayitemlink
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
davidtsadler avatar image
1 Like"
davidtsadler answered
You can use [GeteBayDetails]( http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GeteBayDetails.html) to retrieve the various URLs used for a particular eBay site. Simply pass *URLDetails* as the value of the *DetailName* field in your request. ... URLDetails The response will contain several *URLDetails* elements, one for each type of URL. Iterate through each of these elements and check to see if the [URLType]( http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GeteBayDetails.html#Response.URLDetails.URLType) is equal to **ViewItemURL**. The string found in the *URL* element will then be the URL that the site uses for viewing items. For the US site GeteBayDetails will return the view item URL as ``` http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item= ``` To use this URL simply append the ItemID of the listing to the end, ``` http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=400718235382 ```
· 2
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

davidtsadler avatar image davidtsadler commented ·
The sandbox uses different URLs from the production site. Normally the only difference between between the two is the inclusion of the word sandbox in the actual URL ``` http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&item=110151006162 ``` GeteBayDetails will appropriate URLS for the sandbox or production site.
0 Likes 0 ·
$$anonymous$$ avatar image $$anonymous$$ commented ·
Thank you Davidtsadler for giving Quick response. I will check this and come back . Thanks.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.