question

utkarshsengar avatar image
0 Likes"
utkarshsengar asked ·

Get a list of UPC/EAN by keyword query

Is there a way to query eBay API and get a list of most probable product ID (UPC, EAN etc) via a keyword query.

I Have read this: http://developer.ebay.com/DevZone/shopping/docs/CallRef/FindProducts.html but couldn't't find anything useful.

 

Example (something like this?):

http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding...

 

Should return (all these items should have a valid UPC which can be pulled via ebay's product catalog):

product1:01837373735465

product2:01854643737373

product3:01837373746431

 

I have added: showOnlyProductId=true, so there an api like that? If not, what is the best way to get a list of UPCs for a keyword query?

 

Thanks,

-Utkarsh

 

finding-api-upc
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.

1 Answer

· Write an Answer
tony.developersupport_deprecated_88e71f8c-89f3-4301-990a-e2f00a0fed48 avatar image
0 Likes"
tony.developersupport_deprecated_88e71f8c-89f3-4301-990a-e2f00a0fed48 answered ·

Hi, 

                   What you are missing here is the MaxEntries parameter in the request.  The below request should return multiple products: 

http://open.api.ebay.com/shopping?callname=FindProducts&responseencoding=XML&appid=INSERT_APPID_HERE&siteid=0&version=607&QueryKeywords=harry%20potter&MaxEntries=20

 

Also, note that this call returns a maximum of 20 products. So, you need to give a more specific keyword for getting all the relevant products.

 

Regards, 

· 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.