question

mohabu-81 avatar image
0 Likes"
mohabu-81 asked

GetItem(XML) vs GetItem(JSON)

I have seen two different ways to make request to eBay's API to get information for a listing using GetItem API.

First is, https://developer.ebay.com/devzone/xml/docs/reference/ebay/getitem.html

Second is, https://developer.ebay.com/api-docs/buy/browse/resources/item/methods/getItem

I was wondering what's the difference between the two? Do both return the same data but in a different format, one being XML and the other being json?

Also, is it advised or recommended to use one over the other?

Is there a sample code we could look at for GetItem(json version) to make request?


Thank you,

getitemtradingapi#tradingapiitem info
10 |600 characters needed characters left characters exceeded

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

0 Answers

· Write an Answer

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.