Get a product image
curl --request GET \
--url https://api.maalbar.dk/v1/products/{productPublicId}/image \
--header 'X-Api-Key: <api-key>'const url = 'https://api.maalbar.dk/v1/products/{productPublicId}/image';
const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"imagePath": "<string>"
}{
"error": "Invalid request parameters"
}{
"error": "Authentication required"
}{
"error": "Resource not found"
}{
"error": "An unexpected error occurred"
}Products
Get a product image
GET
/
products
/
{productPublicId}
/
image
Get a product image
curl --request GET \
--url https://api.maalbar.dk/v1/products/{productPublicId}/image \
--header 'X-Api-Key: <api-key>'const url = 'https://api.maalbar.dk/v1/products/{productPublicId}/image';
const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));{
"imagePath": "<string>"
}{
"error": "Invalid request parameters"
}{
"error": "Authentication required"
}{
"error": "Resource not found"
}{
"error": "An unexpected error occurred"
}