Skip to content

Instantly share code, notes, and snippets.

@arifulhb
Created October 27, 2019 08:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arifulhb/bf66829399ed56c194c043d45820f94f to your computer and use it in GitHub Desktop.
Save arifulhb/bf66829399ed56c194c043d45820f94f to your computer and use it in GitHub Desktop.
Amazon-PA-API50-getItemById
let resourceList = resources.getItemInfo
resourceList = resourceList
.concat(resources.getImagesPrimary)
api.getItemById(['B079JD7F7G'], {
parameters: resourceList,
condition: condition.Any
}).then((response) => {
console.log(' ===== find by Item ids =====')
console.log('data', response.data)
}).catch((error) => {
console.log('Error: ', error)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment