Some products in ebay api do not return pictureURLLarge for a product listing using findItemsAdvanced

I am new to Ebay API. I am trying to call a service from eBay as shown below

http://svcs.ebay.com/services/search/FindingService/v1? OPERATION-NAME=findItemsAdvanced& SERVICE-VERSION=1.12.0& SECURITY-APPNAME=XXXXXXXX& GLOBAL-ID=EBAY-IN&outputSelector=PictureURLLarge& RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD 

I already added outputSelector=PictureURLLarge . But some returned products do not receive pictureURLLarge

The following is the output of one of the SimpleXMLElement I get,

 SimpleXMLElement Object ( ............... ............... [galleryURL] => http://thumbs3.ebaystatic.com/m/mul3eDNEoMQ0GzjE_L86YtA/80.jpg [viewItemURL] => http://www.ebay.in/itm/Nike-Golf-Sport-Shoe-Tote-/290867798430?pt=LH_DefaultDomain_203 [paymentMethod] => PaisaPayEscrow [autoPay] => false [location] => India [country] => IN [shippingInfo] => SimpleXMLElement Object ( [shippingServiceCost] => 0.0 [shippingType] => Free [shipToLocations] => IN ) [sellingStatus] => SimpleXMLElement Object ( [currentPrice] => 3540.0 [convertedCurrentPrice] => 3540.0 [sellingState] => Active [timeLeft] => P26DT3H27M13S ) [listingInfo] => SimpleXMLElement Object ( [bestOfferEnabled] => false [buyItNowAvailable] => false [startTime] => 2013-02-21T18:09:53.000Z [endTime] => 2013-09-19T18:14:53.000Z [listingType] => StoreInventory [gift] => false ) [condition] => SimpleXMLElement Object ( [conditionId] => 1000 [conditionDisplayName] => New ) [isMultiVariationListing] => false [topRatedListing] => false ) 

If we check the link where the product is located, that is, viewItemURL here , we will be shown a large image, but here we will not get the same in PictureURLLarge .

Is there any other way to do this?

Any help would be noticeable.

Note : I do not want to use GetSingleItem, this will result in a lot of API calls.

Thanks in advance.

+6
source share

Source: https://habr.com/ru/post/1498729/


All Articles