Get a brand by its ID.
Method: GET
Parameters:
Response:
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"active": true,
"image": "string",
"bio": "string",
"url": "string",
"marketplace": "amazon.com"
}
Errors:
Example:
const API_KEY = "LEVANTA_API_KEY"
const BRAND_ID = "12345678-abcd-efgh-ijkl-mnopqrstuvwx"
const res = await fetch(`https://app.levanta.io/api/seller/v1/brands/${BRAND_ID}`, {
method: "GET",
headers: {
Authorization: `Bearer ${API_KEY}`
}
});
const brand = await res.json();
console.log(brand);