Skip to navigation

Welcome to Mile Solutions

Integrate with the Mile last-mile delivery platform

The Mile Partner API lets you create and track orders, manage customers and products, and receive webhook updates from the Mile platform.

Base URL

https://lastmile.milenow.com/index.php

Authentication

Call POST /api/v1/partners/login with your API user credentials to get an access_token, then pass it as the access_token query parameter on every other request.

curl -X POST "https://lastmile.milenow.com/index.php/api/v1/partners/login?user=YOUR_USERNAME&password=YOUR_PASSWORD"
curl "https://lastmile.milenow.com/index.php/api/v1/partners/products?access_token=YOUR_ACCESS_TOKEN"

If a request is rejected, the debug auth endpoint shows what token data the server received.

What you can do