Get a product by its ASIN and marketplace.
Method: GET
Parameters:
Response:
{
"asin": "string",
"marketplace": "amazon.com",
"pricing": {
"price": 0,
"currency": "USD"
},
"commission": 0,
"title": "string",
"inStock": true,
"category": "string",
"brandId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"access": true,
"parentAsin": "string",
"variations": [
"string"
],
"image": "string"
}
Errors:
Example:
const API_KEY = "LEVANTA_API_KEY";
const ASIN = "ABCDE12345";
const marketplace = "amazon.co.uk";
const res = await fetch(`https://app.levanta.io/api/creator/v1/products/${marketplace}/${ASIN}`, {
method: "GET",
headers: {
Authorization: `Bearer ${API_KEY}`
}
});
const product = await res.json();
console.log(product);