pajaydev/ebay-node-api

Get seller items

zslabs opened this issue · 3 comments

I was hoping searchItems would just allow me to use the filter param to pass through just a seller, but a keyword is required. Any thoughts on a way around this, or is there another endpoint that could be utilized to achieve listing a seller's items? Basically - the results from a page like https://www.ebay.com/sch/zroddick77/m.html?_nkw=&_armrs=1&_ipg=&_from=

Found it! You can use the following (for anyone else that needs it):

findItemsAdvanced({
  LocatedIn: 'WorldWide',
  Seller: 'USERNAME_HERE',
})

@zslabs cool thanks 👍

I was looking for this also. I found that I can do the following.

await ebay.searchItems({
  keyword: 'card',
  categoryId: '1345',
  filter: 'sellers:{sakurablossomtradingpost}', // <-- relevant filter
});

ebay doc: https://developer.ebay.com/api-docs/buy/static/ref-buy-browse-filters.html#sellers