Get a shop picture
GET
/public/images/{tenant}/{kind}/{id}/{variant}
const url = 'https://example.com/public/images/example/example/example/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/public/images/example/example/example/exampleDeliberately unauthenticated: a shop’s product pictures and its own pictures (logo, banners, category tiles), at one of three WebP sizes. A shop picture can also be requested as the PNG email variant for customer-email branding. The addresses come from Bottle responses; nothing else is reachable here. Cached for a year: a changed picture is a new address.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenant
required
The business id.
string
The business id.
kind
required
Product-images or shop.
string
Product-images or shop.
id
required
The picture id.
string
The picture id.
variant
required
Thumb, card, large or email.
string
Thumb, card, large or email.
Responses
Section titled “Responses”The picture
string
string
No such picture
Too many requests from one place