question

jacoklitzk0 avatar image
1 Like"
jacoklitzk0 asked ·

Searching By EPID Works For Some Items, But Not For Others

As the title suggests, when using findItemsByProduct with an ePID in the Finding API, results are returned for some items, but not for others. This issue most often occurs when there is no ePID returned by the findProducts method in the Shopping API. If there are no results from the Shopping API, I manually extract the ePID from the URL of the item I am looking at. My question is, how come some items which have an ePID assigned (pulled from the URL) do not return results when using findItemsByProduct? Example: When searching for Mad Max Fury Road on Blu-Ray using the findProducts method, many results are returned, including one with an ePID of 223800602. This same ePID can be extracted from the following url: http://www.ebay.com/itm/Mad-Max-Fury-Road-Blu-ray-Disc-2015-DVD-Digital-HD-/232490808903?epid=223800602&hash=item3621883647:g:Y2cAAOSwA3dYLa3I When I make the call to findItemsByProduct with the below string, results are returned as I expect. var string = ' http://svcs.ebay.com/services/search/FindingService/v1?' + 'OPERATION-NAME=findItemsByProduct&' + 'SERVICE-VERSION=1.0.0&' + 'SECURITY-APPNAME=apiKey&' + 'RESPONSE-DATA-FORMAT=JSON&' + 'REST-PAYLOAD&' + 'productId.@type=ReferenceID&' + 'productId=223800602' However, when searching for King Arthur Legend of the Sword using the findProducts method no results are returned matching this movie title. When the ePID is manually extracted and used in the findItemsByProduct method call below, no results are returned. Why? ePID link: http://www.ebay.com/itm/King-Arthur-Blu-ray-DVD-Digital-Copy-Missing-Slipcover-Brand-New-/253129352824?epid=23004428283&hash=item3aefaf6678:g:tCcAAOSwXq5ZqfAs var string = ' http://svcs.ebay.com/services/search/FindingService/v1?' + 'OPERATION-NAME=findItemsByProduct&' + 'SERVICE-VERSION=1.0.0&' + 'SECURITY-APPNAME=apiKey&' + 'RESPONSE-DATA-FORMAT=JSON&' + 'REST-PAYLOAD&' + 'productId.@type=ReferenceID&' + 'productId=23004428283'
finding-apifinditemsbyproductepidfindproductssearchingreference-id
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.

clickimusprime avatar image
0 Likes"
clickimusprime answered ·
The product ID search function is broken, incomplete and unreliable for product cross referencing. eBay is not currently cross-referencing their ePIDs with UPC/EAN in API results or the listings, so only items listed with productId will be returned by the APIs when doing productId lookups. This item has a UPC so you can use that instead. Just use findItemsAdvanced with keywords=045496892616
· Share
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.

jjgames avatar image
0 Likes"
jjgames answered ·
I have the same question with some different products. http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByProduct&; SERVICE-VERSION=1.7.0& SECURITY-APPNAME=ebayKey& GLOBAL-ID=EBAY-US& RESPONSE-DATA-FORMAT=JSON& productId.@type=ReferenceID& productId=2256327915 The error I receive with the API call is: {"findItemsByProductResponse":[{"ack":["Failure"],"errorMessage":[{"error":[{"errorId":["14"],"domain":["Marketplace"],"severity":["Error"],"category":["Request"],"message":["Invalid numeric value."],"subdomain":["Search"],"parameter":["productId.ReferenceID"]}]}],"version":["1.13.0"],"timestamp":["2017-10-02T16:54:22.751Z"]}]} If I visit a url with this EPID, it works just fine and shows results: https://www.ebay.com/sch/ctg/-/2256327915?rmvSB=true
· Share
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.

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.