Closed freelook closed 4 years ago
https://github.com/arifulhb/amazon-pa-api50/blob/d089c45e9d83ef6d5abcf392507eb0bd8e7db2fc/src/index.js#L152
With current implementation it is not possible to add custom search params from official documentation for paapi5 https://webservices.amazon.com/paapi5/documentation/search-items.html#ItemLookup-rp
Proposal: Merge by Object.assign second argument params with getSearchItemsRequest. Same approach can be applied for all methods: getItemById, search, getVariations, getBrowseNodes.
Object.assign
params
getSearchItemsRequest
getItemById
search
getVariations
getBrowseNodes
Best regards
Hi @freelook , yes, still now a few more improvement opportunities is there. I hope I can push a new update ASAP, but can't confirm a solid date.
https://github.com/arifulhb/amazon-pa-api50/blob/d089c45e9d83ef6d5abcf392507eb0bd8e7db2fc/src/index.js#L152
With current implementation it is not possible to add custom search params from official documentation for paapi5 https://webservices.amazon.com/paapi5/documentation/search-items.html#ItemLookup-rp
Proposal: Merge by
Object.assign
second argumentparams
withgetSearchItemsRequest
. Same approach can be applied for all methods:getItemById
,search
,getVariations
,getBrowseNodes
.Best regards