From last-mile delivery to end-to-end logistics