bhushankummar / eBay-node-client

Ebay NodeJS Wrapper
MIT License
55 stars 66 forks source link

Browse Search #11

Closed ineffablep closed 5 years ago

ineffablep commented 5 years ago

Hi, I am using your example but getting below results for search, Please let me know where is it going wrong.

Code: eBay.application.getOAuthToken({ grant_type: 'client_credentials', scope: 'https://api.ebay.com/oauth/api_scope' }).then(token => { eBay.setToken(token.access_token); eBay.browse.getItem(itemId).then(response => { res.send(response); }).catch(er => { console.log(er); res.status(500).send(er); });

Response

{
"href": "https://api.sandbox.ebay.com/buy/browse/v1/item_summary/search?limit=50&gtin=5011100517&offset=0",
"total": 0,
"limit": 50,
"offset": 0
}
bhushankummar commented 5 years ago

@ineffablep There is nothing wrong in that. The only possibility is, their no product matched using gtin=5011100517.