Approvisionnement
Envoie le bon de commande au fournisseur par e-mail (PDF joint).
Envoie le bon de commande au fournisseur par e-mail (PDF joint).
Body optionnel : `{"email": "<override>", "locale": "fr|en|de|es|it"}`.
Trace `sent_at`/`sent_to` + audit. L'envoi n'est PAS une transition de la
state machine (pas de statut « SENT ») : renvoyer un PO ne change pas son
statut. Refus si le PO est annulé/rejeté (409) ou si aucun destinataire
n'est disponible (422). En cas d'échec SMTP, réponse 200 avec
`meta.email.sent = false` (best-effort — l'appelant affiche l'alerte).
Permissions requises : commandes:write
post/api/v1/commandes/{order_id}/send
Request
- Base URL: https://erp.eyeot.fr/api/v1
- URL: https://erp.eyeot.fr/api/v1/api/v1/commandes/{order_id}/send
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Response
Succès — payload {data, meta} (cf. API-GUIDE §3.1)
Changes
No recorded changes to this operation across all 1 revision of this API.