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 sizes. thumb fits inside 200 pixels, card 600, large 1600, all WebP. The addresses come from the product and storefront 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 or large.
string
Thumb, card or large.
Responses
Section titled “Responses”The picture
Media typeimage/webp
string
No such picture
Too many requests from one place