Bulk Logistics Data Upload: Process Thousands of Shipments in Seconds

Iñigo Medina · · 2 min read
Bulk Logistics Data Upload: Process Thousands of Shipments in Seconds

We’ve launched a new feature that transforms how our customers can integrate their logistics data with Dcycle. The new bulk upload endpoint allows you to process up to 5,000 shipment records in a single API request, dramatically reducing the time needed to load daily logistics operations data.

This functionality is specifically designed for companies managing high shipment volumes that need to calculate the carbon footprint of their logistics operations efficiently. Whether you receive daily CSV files from your transport providers, export data from your TMS, or need to process historical batches, you can now do so much faster and more reliably.

We’ve implemented multiple performance optimizations under the hood. The system preloads all active vehicle types (TOCs) and your organization’s logistics hubs at the start of each request, avoiding repeated database queries. Additionally, calculated distances are cached by route, meaning if you have 100 shipments between Madrid and Barcelona, the distance is only calculated once. This not only improves performance but also significantly reduces the cost of geocoding service calls.

The endpoint includes a robust error handling system with the continue_on_error option, which allows processing to continue for remaining records even if some fail. Upon completion, you receive a detailed summary with the number of successfully processed records, those that failed, and for each one its index in the original array, movement_id, and calculated CO2e emissions. This greatly facilitates identifying and correcting issues in the source data.

The functionality supports all parameters available in the single request endpoint, including different load units (kg, tons, pallets, TEU, FEU), multi-leg package tracking via package_key, and the ability to use pre-calculated distances if you already have them in your routing system. It also allows you to specify detailed information such as vehicle license plates, subcontractors, clients, and shipment dates for granular tracking.

This new capability is part of our new API architecture, designed to deliver better performance, greater maintainability, and a smoother integration experience. We’re committed to making carbon footprint measurement of logistics operations accessible at any scale.

Product UpdateData

Collect once. Use everywhere.

See how Dcycle can cut your reporting time by 70% and give your auditors what they need , the first time.

See Dcycle in action