Getting all seller items from /item_summary/search
I am looking to pull all the products for a given persons sellerId, this is used to create a code that a user can add toa website to output thier ebay products on.
The problem I am currently having is I can not seem to do this with the https://api.ebay.com/buy/browse/v1/item_summary/search endpoint.
I add the filter=sellers:{<sellerId>} on the query string and have tried a few q values I thought may pull all the products, for instance
https://api.ebay.com/buy/browse/v1/item_summary/search?q= &filter=sellers:{<sellerId>} - has a space in the q value
https://api.ebay.com/buy/browse/v1/item_summary/search?filter=sellers:{<sellerId>}&epid=3 - epid set to 0
These tests bring only 9 results of the users 30 products, all thirty have item names have a space in them.
Can anyone help, why are there only 9 of the 30 returned, and if I am unable to use this endpoint to do what I am looking for, is there a way I can achieve the result I am looking for with any of the other RESTful APIs?
Thanks in Advance.
demirjonat
·1 year agoI may have figured this out. I can't remember if I saw it in docs somewhere or if it was some strange spontaneous eureka moment, but it appears that there is a default to filter by FIXED_PRICE only as an implicit filter.
So, try to ensure that both item types are included in the query by being explicit with that as a filter:
https://api.ebay.com/buy/browse/v1/item_summary/search?q=your_search_term&limit=2&filter=sellers:{seller_id},buyingOptions:{AUCTION|FIXED_PRICE}
^ Adding the additional `buyOptions:{AUCTION|FIXED_PRICE}` is what did it for me. Without specifying the `buyingOptions` filter, I kept returning 0 results for a seller that I know has hundreds of auctions going at any given time. It appears there there is an implicit filter of FIXED_PRICE only unless specified.
Other thing to keep in mind is that filters are delimited by comma, and filter values are delimited by pipe character: |
denkmann
·1 year agoHi,
I have the same problem.
Any feedback on this?
Best regards,
Mike
eric8111
·1 year agoHi
Just wondering you ever managed to resolve this ?I have the same problem.
Kind Regards
Tim