reseller

PUT /v1/reseller/brand/invoice

Set how your invoices read.

Tous les points de terminaison reseller

Authentification

Envoyez une clé API en tant que jeton du porteur. La clé doit posséder l'autorisation reseller.manage ; une clé qui ne l'a pas est refusée avec le code 403, et non 404.

Où insérer l'ID de votre organisation

Cet point de terminaison prend org_id comme paramètre de requête. Omettez-le et l'appel couvrira l'ensemble de votre sous-arbre de location ; envoyez-le pour restreindre l'appel à une seule organisation.

L'identifiant de votre organisation se trouve sur l'écran des clés API de votre tableau de bord, à côté de la clé elle-même. Il s'agit du même identifiant pour chaque appel que vous effectuez.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

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

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

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®.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
org_id (query)UuidNonThe 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…

Corps de la requête

NomTypeObligatoireQu'est-ce que c'est
footer_textstringNonSmall print at the foot of the document — typically your registered company name and number.
payment_termsstringNonWhen and how you expect to be paid.
payment_detailsstringNonRemittance details — account name, IBAN, BIC, a payment link. Line breaks are preserved exactly as you type them.
support_contactstringNonWhere your client asks about this invoice.

Réponse

NomTypeObligatoireQu'est-ce que c'est
configuredbooleanOuiFalse when your clients are still invoiced under Zinn Digital®, in which case there is nothing here to set.
legal_entity_namestringOuiThe company these invoices are issued by.
footer_textstringOui
payment_termsstringOui
payment_detailsstringOui
support_contactstringOui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 422 · 429