Branding
Get Portal Branding
Get the merchant's resolved portal branding: the stored colours, display name, support email and uploaded logo / mark, with every unset value filled in from the SKU defaults and the derived text colours, contrast ratios and warnings computed.
Update Portal Branding
Update the portal's brand colours, display name and support email. The logo and mark are uploaded separately (Upload Branding Image).
Upload Branding Image
Upload the portal logo or square mark (multipart/form-data). Replaces the current image of that type; the old uploaded file is deleted once the new one is saved.
Remove Branding Image
Remove the uploaded logo or mark. The portal falls back to the display name (logo) or its initial (mark). The stored file is deleted and `version` is bumped.
List Portal Brands
List every brand a dealer can see: the portal default first, then one card per active store, with archived stores apart (their saved branding is kept and returns on unarchive).
Update Store Portal Link Name
Set the store's `portal_slug`, the public link name in `?store={portal_slug}` sign-in links.
Copy Store Document Logo to Portal Brand
Copy the logo a store prints on its documents (packing slips, invoices) into that store's portal brand logo. The image goes through the same processing as an upload: SVGs are sanitised, raster images re-encoded and scaled down to 1200 px wide. Replaces any portal logo the store already had.
Get Portal Branding
Get the merchant's portal branding for the pages a buyer sees before signing in (sign-in, register, accept-invite). No authentication: the tenant is resolved from the portal host.
Get Portal Branding Image
The merchant's uploaded portal logo or square mark, as the image file itself. Public — no token needed; the tenant comes from the host — so sign-in pages and email clients can load it. This is the URL that `logo_url` / `mark_url` point to for uploaded images.