question

premo_deals avatar image
0 Likes"
premo_deals asked

Why doesn't productID work with findCompletedItems?

Hi, The documentation lists productId as a filter for findCompletedItems, but it has no impact on the results being returned. Is there something wrong with my query or does this just not work? Query: http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findCompletedItems&SERVICE-VERSION=1.7.0&SECURITY-APPNAME=XXXXXXXXX&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&categoryId=31388&itemFilter(0).name=Condition&itemFilter(0).value=1000&itemFilter(1).name=SoldItemsOnly&itemFilter(1).value=true&productID.value=013803271829&productID.@type=UPC&sortOrder=PricePlusShippingLowest I would expect this to filter the results and return only items with a UPC of "013803271829", which is a Canon camera, but a bunch of unrelated items within category 31388 (Digital Cameras) are returned... Any idea?
findcompleteditems
10 |600

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
clickimusprime avatar image
0 Likes"
clickimusprime answered
The docs are incorrect for productId. The same error is in the findItemsByProduct docs, but the example there shows the correct format. The format it wants (case sensitive): &productId.@type=UPC&productId=013803271829 You can also just search UPCs using the keywords parameter which seems to give more complete results and works with, but doesn't require a categoryId: &keywords=013803271829
10 |600

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.