Docs
Endpoints · Signed links

GET/v1/brand-logo

A store's logo for the designer bar (image/png, public).

What it does

The logo for the designer's top bar. t is the organisation's id; s a store's id when that store has its own logo, else the organisation's logo is answered; v a version that changes with every upload, so the image is cached for a year (Cache-Control: public, max-age=31536000, immutable). Public on purpose, with Access-Control-Allow-Origin: *.

No key: it is public.

GET /v1/brand-logoCopy
curl "https://printwisp.com/v1/brand-logo?t=ten_7c0a1b2e9d4f&v=3" \
  -o logo.png
<?php
file_put_contents('logo.png', file_get_contents('https://printwisp.com/v1/brand-logo?t=ten_7c0a1b2e9d4f&v=3'));
// Node
const r = await fetch('https://printwisp.com/v1/brand-logo?t=ten_7c0a1b2e9d4f&v=3');
require('fs').writeFileSync('logo.png', Buffer.from(await r.arrayBuffer()));
import requests

r = requests.get(
    "https://printwisp.com/v1/brand-logo?t=ten_7c0a1b2e9d4f&v=3",
)
open("logo.png", "wb").write(r.content)

Parameters

ParameterTypeDescription
t requiredstringThe organisation's id.
sstringA store's id, for the logo of a store with its own branding.
vstringThe logo's version.

Response

200 image/png. The logo.

HTTP/1.1 200
Content-Type: image/png

Errors

HTTPerrormessage
404plain textNo logo.
No logo.

← Every routeQuickstart →