The eBay API findItemsByProduct will work with UPC and EAN. But, unfortunately, it does not work.
The following HTTP GET request returns "Invalid product identifier value." [error 41] http://svcs.ebay.com/services/search/FindingService/v1?SECURITY-APPNAME=MY-APP-ID-GOES-HERE&OPERATION-NAME=findItemsByProduct&SERVICE-VERSION=1.0.0&RESPONSE-DATA-FORMAT= XML & REST-PAYLOAD & productId. @ Type = EAN & productId = 0016000275270 & paginationInput.entriesPerPage = 3
Note. . Please replace the SECURITY-APPNAME value with your free eBay APP identifier. I replaced it with MY-APP-ID-GOES-HERE for obvious reasons. The eBay API for the above function can be found here: http://developer.ebay.com/DevZone/finding/CallRef/findItemsByProduct.html#findItemsByProduct
Output:
<findItemsByProductResponse xmlns="http://www.ebay.com/marketplace/search/v1/services"> <ack>Failure</ack> <errorMessage> <error> <errorId>41</errorId> <domain>Marketplace</domain> <severity>Error</severity> <category>Request</category> <message>Invalid product ID value.</message> <subdomain>Search</subdomain> <parameter>0016000275270</parameter> </error> </errorMessage> <version>1.12.0</version> <timestamp>2014-03-11T18:38:13.543Z</timestamp> </findItemsByProductResponse>
Can someone notice any error with the above call? Thank.
FWIW, 0016000275270 - a valid barcode http://www.upcdatabase.com/item/0016000275270
ebay ! http://developer.ebay.com/DevZone/finding/CallRef/findItemsByProduct.html#findItemsByProduct
ISBN ISBN-10 ISBN-13 . ISBN, eBay .
UPC (, -), DVD , ( ). UPC , eBay .
EAN EAN ( ). EAN, eBay .
upc = 883929106646 ( )
http://www.ebay.com/sch/i.html?_nkw=883929106646 ebay.com UPC ( ). :
http://www.upcdatabase.com/item/883929106646 UPC
http://svcs.ebay.com/services/search/FindingService/v1?SECURITY-APPNAME=MyAppID&OPERATION-NAME=findItemsByProduct&SERVICE-VERSION=1.0.0&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&productId.@type=UPC&productId=883929106646&paginationInput.entriesPerPage=3
xml- [ MyAppID ]
: . ebay upc/ean . EBAY
eBay , UPC (, -), DVD- . , UPC General Mills Honey Nut Cheerios Cereal, . , 12 UPC.
, UPC ebay , . ebay UPC, , , , ebay-.
Source: https://habr.com/ru/post/1531228/More articles:array field type in essence for symfony type select field - formsGoogle Maps V3 does not remove event listener - javascriptdicts not ordered in python 3? - pythonNo libffmpeg.so for command line arguments after creating FFMPEG for android - androidserialize two different instances in a list on a single json line - jsonHow to calculate percent completion in parallel? - c #Animated jerks on an Android device in titanium - androidTitanium - animation v. V. Choppy - titaniumIMGKit convert HTML to PNG of a specific part of HTML - htmlAPK created by xamarin on mac does not install - androidAll Articles