Achieving delivery optimization can be done through a number of different ways. First, a company can create a protocol or a set of rules that would best suit a kind of delivery, like fixed price route or last mile delivery. Another way would be to partner up with a third party logistics provider. However, the best solution for a company to achieve delivery optimization would be API integration.