reseller

POST /v1/branding/logo

Upload your logo.

Dukkan reseller wuraren ƙarshe

Dukan takardun mai haɓakawa

Tabbatar da Asali

Aika maɓallin API azaman alamar ɗauka (bearer token). Dole ne maɓallin ya kasance yana da izinin reseller.manage; idan babu shi, za a ƙi amfani da maɓallin tare da lambar 403, ba 404 ba.

Inda ID ɗin kungiyar ku ke zuwa

Wannan mahadar ta na daukar org_id a matsayin sigar tambaya. Bar shi kuma kiran zai shafi daukacin rukunin haya naka; aika shi don takaita kiran zuwa kungiya daya tak.

Ana samun lambar kungiyar ku a kan shafin maɓallan API a cikin madanninku, kusa da maɓallin kansa. Shi ne lambar da ta dace a kowane kiran da kuka yi.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

curl -X POST https://api.zinndigital.com/v1/branding/logo \
  -H "Authorization: Bearer zdk_live_…"

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

Your logo, as an image file. Requires reseller.manage. ⚖️ Uploaded, never linked — owner ruling 2026-09-01. We store the image ourselves and serve it from GET /v1/branding/logo/{sha256}, and that is what makes it possible to print it on your invoices: an invoice is rendered offline from a frozen copy of the document and cannot fetch anything, so a link to your own web server could never appear on one. It would also mean a document that changes if your site goes down. Send the file as the logo part of a multipart/form-data request. PNG, JPEG, WebP and GIF, up to 256 KB and 4000 px on a side. ⛔ SVG is refused: it can carry scripts and remote references. ⛔ Changing your logo does not change invoices already issued. Each document keeps the logo it was issued with, because it is referenced by a digest of the exact image.

Sigogi

SunaNau'iAna buƙataAbin da yake
org_id (query)UuidA'aThe organization this call acts on. Optional for a caller with exactly one direct membership; required for anyone with more than one — which is every reseller and every agency…

Martani

SunaNau'iAna buƙataAbin da yake
logo_urlstringEh
sha256stringEh
purposestring<panel, favicon, email>A'aWhich mark was stored — echoed back so a caller can confirm.
content_typestringA'a
widthintegerA'a
heightintegerA'a
byte_sizeintegerA'a

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 422 · 429