The Yakult App notification system keeps delivery drivers informed in real time without requiring any manual configuration. Whenever an order is assigned to a driver or its status changes, the platform automatically creates and delivers a targeted notification visible only to that driver. Drivers access their full notification inbox through the Avisos tab in the mobile app, where they can review unread messages, mark items as read individually or all at once, and quickly navigate to the related order.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/160906/Yakultt-App/llms.txt
Use this file to discover all available pages before exploring further.
Notification Types
Every notification carries atipo field that describes why it was created. The mobile app uses this value to display the appropriate icon and to help drivers prioritize their inbox.
asignacion 🚚
Triggered when an order is created with a driver already assigned, or when a driver is reassigned to an existing order. Alerts the driver that a delivery is now their responsibility.
estado 🔄
Triggered when the status of an order changes and the change was made by someone other than the assigned driver. Keeps the driver up to date on order progress without generating noise from their own actions.
info 🔔
General informational messages sent by the platform. Used for system-level updates and announcements not tied to a specific order action.
Notifications are only sent to the assigned repartidor. If the repartidor themselves updates the status of their own order, they do not receive a redundant
estado notification — the system skips notification creation in that case to avoid inbox clutter.Notification Data Structure
Each notification object contains the following fields.Field Reference
| Field | Type | Description |
|---|---|---|
id | number | Unique notification ID |
ordenId | number | ID of the related order. Use to deep-link into order detail. |
tipo | string | One of asignacion, estado, or info |
titulo | string | Short subject line displayed in the notification list |
mensaje | string | Full notification body with contextual details |
leida | boolean | false if unread, true once the driver has marked it read |
fecha | string | Human-readable timestamp formatted as DD Mon HH:MM |
API Endpoints
All notification endpoints use thex-user-id header to identify the requesting driver. This numeric ID is provided automatically by the mobile app on every request.
Fetch Notifications
Returns the 50 most recent notifications for the authenticated driver, ordered by date descending.x-user-id: <userId>
Mark One Notification as Read
Update theleida flag to true for a single notification. Typically called when the driver taps a notification item in the list.
x-user-id: <userId>
Mark All Notifications as Read
Bulk-update all of the driver’s unread notifications toleida: true in a single request. Invoked by the Mark all as read button in the Avisos tab.
x-user-id: <userId>
Mobile App — Avisos Tab
The Avisos tab is the driver’s notification inbox inside the Yakult mobile app. It surfaces all relevant alerts in a single, easy-to-scan list.Unread Count Badge
A red badge on the Avisos tab icon shows the number of unread notifications. The count is derived from the
leida: false entries returned by GET /api/notificaciones and refreshes every time the tab comes into focus.Notification List
Notifications are displayed in reverse-chronological order. Each row shows the type icon,
titulo, mensaje preview, and fecha. Unread items appear visually distinct from read ones.Type Icons
The app renders a contextual icon based on the
tipo field:- 🚚
asignacion— a new or reassigned delivery - 🔄
estado— an order status change - 🔔
info— a general system message
Tap to Mark as Read
Tapping any notification calls
PUT /api/notificaciones/:id/leida, flips its leida flag to true, and navigates the driver to the related order detail screen using ordenId.Endpoint Summary
| Method | Endpoint | Header | Description |
|---|---|---|---|
GET | /api/notificaciones | x-user-id | Fetch the 50 most recent notifications |
PUT | /api/notificaciones/:id/leida | x-user-id | Mark one notification as read |
PUT | /api/notificaciones/leer-todas | x-user-id | Mark all notifications as read |