Upload the tenant logo rendered on its PDFs (max 2MB)
PUT
/v1/partner/tenants/{id}/logo
const url = 'https://api.emite.cr/v1/partner/tenants/example/logo';const options = {method: 'PUT'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://api.emite.cr/v1/partner/tenants/example/logoMultipart, file in the logo field: PNG, JPEG, WebP, AVIF or SVG, up to 2 MB. The server re-encodes it to PNG (sRGB, at most 800×800 px) and replaces any previous logo; every PDF of the company rendered from then on carries it. 400 LOGO_FILE_REQUIRED without a file, LOGO_TOO_LARGE over 2 MB, LOGO_MIME_NOT_ALLOWED for any other type (and 400 for an image that cannot be decoded); 404 PARTNER_TENANT_NOT_FOUND for a company this partner does not manage.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Header Parameters
Section titled “Header Parameters”x-partner-key
string
Partner app credential (ecp_*)
Responses
Section titled “Responses”Media typeapplication/json
object
message
required
A fixed English confirmation — Credentials stored or Logo stored. The 200 status is what confirms it; nothing in the body needs parsing.
string
Example
{ "message": "Credentials stored"}