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
Copy file name to clipboardExpand all lines: src/buy-api.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ const getItemByItemGroup = function (itemGroupId) {
49
49
50
50
constsearchItems=function(searchConfig){
51
51
if(!searchConfig)thrownewError('Error --> Missing or invalid input parameter to search');
52
-
if(!searchConfig.keyword&&!searchConfig.categoryId&&!searchConfig.gtin)thrownewError('Error --> Keyword or category id is required in query param');
52
+
if(!searchConfig.keyword&&!searchConfig.categoryId&&!searchConfig.gtin&&!searchConfig.epid)thrownewError('Error --> Kindly provide the valid Keyword, category id, epid or gtin in query param');
0 commit comments