pajaydev/ebay-node-api

Can't search items by epid with Auth flow

rambonette opened this issue · 2 comments

Issue or Enhancement

  • [ x] Issue
  • Enhancement / Improvement

Steps to reproduce

searchItems function does not accept an "epid" as parameter for the query.

Expected Behavior

ebay.getAccessToken().then((data) => {
ebay
.searchItems({
epid: <ebay_product_id>
})
.then(
(data) => {
console.log(data);
},
(error) => {
console.log(error);
}
);
});

Actual Behavior

I already took the liberty to fix the 'searchItems' function by simply adding the epid field. I can push the branch if you want :)

It's now possible to search with ePID using the searchItems function