reseller

PUT /v1/reseller/brand/invoice

Set how your invoices read.

Të gjitha pikat e skajshme reseller

Autentifikimi

Drgoni një çelës API si një token mbajtës. Çelësi duhet të ketë lejen reseller.manage; një çelës pa të refuzohet me 403, jo 404.

Ku shkon id i organizatës suaj

Ky endpoint pranon org_id si parametër kërkimi. Lëreni bosh dhe thirrja do të mbulojë të gjithë nëndrurin tuaj të qiramarrjes; dërgojeni atë për ta ngushtuar thirrjen në një organizatë të vetme.

ID-ja e organizatës suaj ndodhet në ekranin e çelësave API në panelin tuaj të kontrollit, pranë vetë çelësit. Është i njëjti ID në çdo thirrje që bëni.

Provoje

Zëvendësoni çdo gjë brenda kllapave këndore me vlerat tuaja dhe vendbanuesin e çelësit me një çelës nga paneli juaj.

curl -X PUT https://api.zinndigital.com/v1/reseller/brand/invoice \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Jeni kyçur? Konsola e API-së në panelin tuaj plotëson ID-në tuaj reale të organizatës dhe çelësin tuaj, dhe ekzekuton kërkesën kundrejt API-së live, kështu që ju mund të shihni përgjigjen aktuale. Hapni këtë pikë fundore në konsolën e API-së

Detajet

Requires `reseller.manage`. ⭐ These are printed on **your** invoices, under your company, your VAT number and your number series — so the payment details are yours. Your clients are charged on your own payment gateway and you are the merchant of record for them. ⛔ **Changing these does not change invoices already issued**, and must not: every value is frozen onto each document when it is raised. Restating where last month's invoice was payable would be a different demand for money under the same number. Refused with 422 when your clients are still invoiced under Zinn Digital®.

Parametrat

EmriLlojiKërkohetÇfarë është kjo
org_id (query)UuidJoThe 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 agen…

Trupi i kërkesës

EmriLlojiKërkohetÇfarë është kjo
footer_textstringJoSmall print at the foot of the document — typically your registered company name and number.
payment_termsstringJoWhen and how you expect to be paid.
payment_detailsstringJoRemittance details — account name, IBAN, BIC, a payment link. Line breaks are preserved exactly as you type them.
support_contactstringJoWhere your client asks about this invoice.

Përgjigja

EmriLlojiKërkohetÇfarë është kjo
configuredbooleanPoFalse when your clients are still invoiced under Zinn Digital®, in which case there is nothing here to set.
legal_entity_namestringPoThe company these invoices are issued by.
footer_textstringPo
payment_termsstringPo
payment_detailsstringPo
support_contactstringPo

Gabimet që ky pikëndalim mund të kthejë

401 · 403 · 422 · 429