You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// To check the format of Data, Go to this url (https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-SearchforItemsbyKeyword-0)
23
+
})
24
+
});
25
+
26
+
27
+
// Search for Items by Category.
28
+
ebay.getAccessToken()
29
+
.then((data)=>{
30
+
ebay.searchItems({
31
+
categoryId: 2080,
32
+
limit: "3"
33
+
}).then((data)=>{
34
+
console.log(data);
35
+
// Data is in format of JSON
36
+
// To check the format of Data, Go to this url https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-SearchforItemsbyCategory-1.
37
+
})
38
+
});
39
+
40
+
41
+
42
+
// Retrieve the Item Aspects by Keyword Search.
43
+
ebay.getAccessToken()
44
+
.then((data)=>{
45
+
ebay.searchItems({
46
+
keyword: "iphone",
47
+
fieldgroups: "ASPECT_REFINEMENTS"
48
+
}).then((data)=>{
49
+
console.log(data);
50
+
// Data is in format of JSON
51
+
// To check the format of Data, Go to this url https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-RetrievetheItemAspectsbyKeywordSearch-3.
52
+
})
53
+
});
54
+
55
+
56
+
// Return Items with Free Shipping.
57
+
// Pass params inside filter object to filter items.
58
+
ebay.getAccessToken()
59
+
.then((data)=>{
60
+
ebay.searchItems({
61
+
keyword: "drone",
62
+
limit: 3,
63
+
filter: {maxDeliveryCost: 0}
64
+
}).then((data)=>{
65
+
console.log(data);
66
+
// Data is in format of JSON
67
+
// To check the format of Data, Go to this url https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-ReturnItemswithFreeShipping-6.
// To check the format of Data, Go to this url https://developer.ebay.com/api-docs/buy/browse/resources/item_summary/methods/search#w4-w1-w4-ReturnItemsBasedonPriceandCondition-7.
0 commit comments