cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

images and Thumbnails are swapped in the searching API

Hi!

When I am sending a request to the search API, it seems to me that in the response I get, images and thumbnails have been inverted.

Example: https://api.ebay.com/buy/browse/v1/item_summary/search?q=Barry+DePedal...

I get:

- "image":{"imageUrl":"https://i.ebayimg.com/thumbs/images/g/v50AAOSw92lkI27L/s-l225.jpg"

- "thumbnailImages":[{"imageUrl":"https://i.ebayimg.com/images/g/v50AAOSw92lkI27L/s-l1600.jpg"}]

Other question, I have seen that some searching APIs have been deprecated or will be deprecated, am I still using the correct one?

Thanks in advance.

David

Message 1 of 2
latest reply
1 REPLY 1

images and Thumbnails are swapped in the searching API

@v.david 

 

The Finding API and the Shopping API will be discontinued. The Browse API is the one to use in place of those other two.  So, yes, you are using the correct API.

 

I have also noticed that the names are rather unfortunate in the Browse APIs Search method.

 

There are three types of photos returned within ["itemSummaries"]:

 

["image"]["imageUrl"] returns a 225px search thumbnail (variation listings could return the image for the most popular variation, rather than returning the master photo).

 

These photos normally appear in the photo gallery at the top of the listing. (Does not include variation photos, which require a filter).
["thumbnailImages"][0]["imageUrl"] returns a single 1600px large gallery photo. Only the first index is returned, since there is only one large photo at a time in the gallery.
["additionalImages"][0]["imageUrl"] is an array of 225px thumbnail images that are in addition to the main 1600px image. The main photo is not repeated in this list.

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 2
latest reply