Get active shipments
GET/company/delivery/active
Retrieves a paginated list of the company's active shipments (statuses 'planned' and 'in_progress'). Requires JWT authentication.
Use Cases:
- Monitor shipments in progress
- View pending shipments awaiting execution
- Manage logistics for active operations
Example of a successful response:
{
docs: [
{
service_code: DEL-67890,
status: in_progress,
etl_address: { /* loading address */ },
etd_address: { /* unloading address */ },
etl_date: 2025-08-08T10:00:00Z,
date_eta: 2025-08-09T18:00:00Z,
cargo_type: Perishable Food,
cargo_weight: 1200,
pallets_num: 24
}
],
totalDocs: 5,
limit: 10,
page: 1
}
Request
Responses
- 200
- 401
- 404
Active shipping list successfully retrieved.
Unauthorized. The JWT token is invalid or has expired. You must authenticate again.
Company not found. The company associated with the token does not exist or does not have permission to access this data.