Get Status History
Retrieve the complete status history for a package, including all status changes with timestamps and personnel information.Endpoint
GET
/encomienda/getHistorialEstadosQuery Parameters
Package ID
Response
Array of status history entries
Status history entry ID
Status type ID
Status name/description
Date of status change
Time of status change
Comment or notes about the status change
ID of personnel who made the change
Name of personnel who made the change
Branch/agency where status was updated
Request Example
Response Example
Update Package Status
Add a new status update to a package’s history.Endpoint
POST
/encomienda/addEstadoEncomiendaRequest Body
Package ID
New status ID to assign
Comment or notes about the status change
Response
Indicates if the status was updated successfully
Response message
Request Example
Response Example
Get Available Statuses
Retrieve the list of statuses that can be assigned to a specific package based on its current state.Endpoint
GET
/encomienda/getEstadosDisponiblesQuery Parameters
Package ID
Response
Request Example
Response Example
Status Flow
Typical status progression for a package:- Registrado - Package registered in the system
- En tránsito - Package in transit to destination
- En agencia destino - Package arrived at destination branch
- En reparto - Package out for delivery
- Entregado - Package delivered to recipient
- No entregado - Delivery attempt failed
- Devuelto - Package returned to sender
- Cancelado - Package cancelled
Notes
- Status changes are tracked with timestamp and personnel information for audit purposes
- Only certain status transitions are allowed based on the current package state
- Use the “Get Available Statuses” endpoint to determine which statuses can be applied to a package
- Comments are required when updating status to provide context for the change