---
title: "POST /public/track/<token>/notify — bouton « Notifier-moi » (R416)."
method: POST
path: "/api/v1/livraison/public/track/{token}/notify"
tags: ["Livraison & Routing (V2)"]
---

# POST /public/track/<token>/notify — bouton « Notifier-moi » (R416).

`POST /api/v1/livraison/public/track/{token}/notify`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/livraison/public/track/{token}/notify`
- Auth: none declared

POST /public/track/<token>/notify — bouton « Notifier-moi » (R416).

    Le destinataire s'abonne aux notifications de statut de SA livraison. Le
    contact (email/SMS) est désormais RÉELLEMENT persisté sur le stop
    (migration r416) et déclenchera les notifications à venir
    (out_for_delivery / approaching / delivered / failed) — fin de la façade
    V1.1 log-only.

    Body JSON : `{contact_method: "email"|"sms", contact_value: "..."}`.
    Retour 200 + `{subscribed: true, feature_status: "active"}`.

## Response `200`

Succès — payload `{data, meta}` (cf. API-GUIDE §3.1)

## Other responses

- `201`: Ressource créée. ID dans `data.id`.
- `400`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `404`: Ressource introuvable (ou cross-tenant — équivalent à hidden).
- `409`: État incohérent (email dupliqué, ressource déjà dans cet état, etc.).
- `422`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `429`: Trop de requêtes. Honorer le header `Retry-After` (secondes).

---

[API](https://skmtc.dev/eyeot/apis/eyeot-erp-api.md) · [All operations](https://skmtc.dev/eyeot/apis/eyeot-erp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/eyeot/apis/eyeot-erp-api/revisions/42ab95222a89?raw)
